in reply to Re^3: Why should I use perl 5.10?
in thread Why should I use perl 5.10?
Under perl 5.8:use Benchmark; timethese(100000, { 'Test' => 'eval{die "x" x 100000 if $] < 5.01}', });
Under perl 5.10:Benchmark: timing 100000 iterations of Test... Test: 15 wallclock secs (14.98 usr + 0.00 sys = 14.98 CPU) @ 66 +73.34/s (n=100000))
Whooooo ... how good is *that* !!!!!Benchmark: timing 100000 iterations of Test... Test: 0 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU) @ 62 +50000.00/ (n=100000) (warning: too few iterations for a reliable count)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Why should I use perl 5.10?
by Anonymous Monk on Aug 07, 2008 at 19:29 UTC |