aanari / NewRelic-Agent

Perl Agent for NewRelic
7 stars 5 forks source link

Remove use of Method::Signatures, add arg checking (saves >35MB) #4

Closed timbunce closed 9 years ago

timbunce commented 9 years ago

This PR includes the earlier PR#3 so also closes #1.

timbunce commented 9 years ago

The memory use reduced from 231360 kB to 194808 kB as reported by perl -MNewRelic::Agent -we '$a=NewRelic::Agent->new(); system("grep VmSize /proc/$$/status")'