March 11, 2010
Hot Topics:

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

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

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

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.

References

1 2 3 4 5 6



Networking Solutions





Partners

  • Partner With Us














More on ServerWatch