Changeset 9451

Show
Ignore:
Timestamp:
04/15/08 01:01:20 (5 years ago)
Author:
daisuke
Message:

lang/perl/Crypt-DH-GMP; add benchmark to doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Crypt-DH-GMP/trunk/lib/Crypt/DH/GMP.pm

    r9449 r9451  
    117117  $dh->compute_key(); 
    118118 
     119=head1 BENCHMARK 
     120 
     121By NO MEANS is this an exhaustive benchmark, but here's what I get on my 
     122MacBook (OS X 10.5.2, 2GHz Core 2 Duo, 2GB RAM) 
     123 
     124  daisuke@beefcake Crypt-DH-GMP$ perl -Mblib tools/benchmark.pl  
     125        Rate    pp   gmp 
     126  pp  1.70/s    --  -98% 
     127  gmp  112/s 6526%    -- 
     128 
     129I want it to run for much longer duration, but the above was all I could 
     130get going at 1am on this particular day 
     131 
    119132=head1 METHODS 
    120133