2005-01-26 smeghead

* Added a couple of scripts, i2ptest.sh and i2pbench.sh, to manage the core
      tests and benchmarks.
    * Routerconsole now builds under gcj 3.4.3.
    * Corrected divide by zero error in TunnelId class under gcj (jrandom++).
This commit is contained in:
smeghead
2005-01-27 00:21:10 +00:00
committed by zzz
parent 690d7e30cf
commit 22ca1491bc
5 changed files with 147 additions and 4 deletions

13
core/perl/i2pbench.sh Normal file
View File

@ -0,0 +1,13 @@
#!/usr/bin/perl
print "\nBenchmark Suite #1: i2p/core/java/test/net/i2p/crypto/*\n\n";
@testclasses = ( "AES256Bench", "DSABench", "ElGamalBench", "SHA256Bench" );
foreach $testclass (@testclasses) {
print "[BENCHMARK] $testclass:\n\n";
system("java -cp lib/i2p.jar:lib/jbigi.jar net.i2p.crypto.$testclass");
print "\n";
}
print "\n*** ALL BENCHMARKS COMPLETE ***\n\n";