X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FBenchmark.pm;h=c382fcb1c42c99efb7344ae2ba4e18e98e37b2a7;hb=d4fd5c69aa67ee57d4d0286857bcd78a0847cbe3;hp=9929e6e0be6677b316595d0441374f78828bb12f;hpb=4aa0a1f7324b8447469670a1b2427c3ac2428bae;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/Benchmark.pm b/lib/Benchmark.pm index 9929e6e..c382fcb 100644 --- a/lib/Benchmark.pm +++ b/lib/Benchmark.pm @@ -40,7 +40,7 @@ Returns the current time. Example: # ... your code here ... $t1 = new Benchmark; $td = timediff($t1, $t0); - print "the code took:",timestr($dt),"\n"; + print "the code took:",timestr($td),"\n"; =item debug @@ -146,14 +146,14 @@ than a short test; try: The system time of the null loop might be slightly more than the system time of the loop with the actual -code and therefore the difference might end up being < 0. +code and therefore the difference might end up being E 0. More documentation is needed :-( especially for styles and formats. =head1 AUTHORS -Jarkko Hietaniemi , -Tim Bunce +Jarkko Hietaniemi EFE, +Tim Bunce EFE =head1 MODIFICATION HISTORY