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:
13
core/perl/i2pbench.sh
Normal file
13
core/perl/i2pbench.sh
Normal 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";
|
Reference in New Issue
Block a user