New benchmark. :)
This commit is contained in:
parent
aead6a5a83
commit
939badfda0
1 changed files with 23 additions and 0 deletions
23
benchmarks/generateScriptsThreads.pl
Normal file
23
benchmarks/generateScriptsThreads.pl
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/perl -w
|
||||
|
||||
use strict;
|
||||
|
||||
|
||||
## This perl script generates the input to timer.pl, which in turn
|
||||
## generates the input to plotting.pl, which generates performance
|
||||
## graphs. :)
|
||||
|
||||
open(LOGICAL_THREADS, ">LOGICAL_THREADS.script" );
|
||||
|
||||
for(my $i = 1; $i <= 20; $i += .5) {
|
||||
my $total = 100000;
|
||||
|
||||
my $thread_count = $i;
|
||||
|
||||
my $insert_count = $total / $i;
|
||||
|
||||
print LOGICAL_THREADS "./logicalMultThreaded $thread_count $insert_count\n";
|
||||
|
||||
}
|
||||
|
||||
close(LOGICAL_THREADS);
|
Loading…
Reference in a new issue