Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Saturday January 11, 2003
10:58 PM

benchmarking and profiling

[ #9909 ]
First, I think I made a mistake with my benchmark code; for loops are faster than while loops in Ruby most of the time. Oops.

Second, I've never really bothered with using a profiler until recently and it's probably not a good thing. I say that because now I sit and try and optimize the largest relative bottleneck, no matter what the absolute time is.

So here I sit, saying stuff like, ".34 seconds? Too slow! I *know* I can drop it under .30 seconds if I work at it!".

I need help.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.