forked from I2P_Developers/i2p.i2p

* 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++).
14 lines
377 B
Bash
14 lines
377 B
Bash
#!/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";
|