in reply to Re^2: code optimization
in thread code optimization
Profilers can lead to false optimizations because your measuring the overhead of recording the timings (OS interrupts/OS calls/context switches/mutex hits/evals/method resolution) or 1 run if the func is below the OS timer resolution. I took nytprof to these subs and nytprof changed which is the fastest sub which is no good.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: code optimization
by Anonymous Monk on Nov 05, 2011 at 00:13 UTC |
In Section
Seekers of Perl Wisdom