Improving mod_perl Driven Site's Performance -- Part III: Code Profiling and Memory Measurement Techniques Page 6

By Jeremy Reed (Send Email)
Posted Jan 1, 2001

  % perl -MO=Terse -e 'my %hash' | wc -l
  -e syntax OK

  % perl -MO=Terse -e 'my %hash = ()' | wc -l
  -e syntax OK

The first one has less opcodes.

Note that you shouldn't use Apache::Status module on production server as it adds quite a bit of overhead for each request.


Page 6 of 6

Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date