annotate config/bm/Pygar/sort_test/sort-test.cfx @ 51:9fe5ed4af92d
pygar svn.52
[svn r52] tested having multiple cores
author |
punk |
date |
Wed, 05 May 2010 17:01:04 -0400 |
parents |
90197e3375e2 |
children |
|
rev |
line source |
rlm@23
|
1 : # -*-Perl-*-
|
rlm@23
|
2 eval 'exec perl -w "$0" ${1+"$@"}'
|
rlm@23
|
3 if 0;
|
rlm@23
|
4
|
rlm@23
|
5 ##
|
rlm@23
|
6 ## Directory of hasim benchmarks
|
rlm@23
|
7 ## Remember to set this file as executable
|
rlm@23
|
8
|
rlm@23
|
9 use Asim;
|
rlm@23
|
10 use strict;
|
rlm@23
|
11
|
rlm@23
|
12 my $gcfg = Asim::GenCFG->new();
|
rlm@23
|
13
|
rlm@23
|
14 my @bmark_tests = ( "2"
|
rlm@23
|
15 ,"4"
|
rlm@23
|
16 ,"8"
|
rlm@23
|
17 ,"16"
|
rlm@23
|
18 ,"32"
|
rlm@23
|
19 ,"64"
|
rlm@23
|
20 ,"128"
|
rlm@23
|
21 ,"256"
|
rlm@23
|
22 ,"512"
|
rlm@23
|
23 ,"1024"
|
rlm@23
|
24 ,"2048"
|
rlm@23
|
25 ,"4096"
|
rlm@23
|
26 ,"8192"
|
rlm@23
|
27 ,"16384"
|
rlm@23
|
28 ,"32768"
|
rlm@23
|
29 ,"65536"
|
rlm@23
|
30 ,"131072"
|
rlm@23
|
31 ,"262144"
|
rlm@23
|
32 ,"524288"
|
rlm@23
|
33 ,"1048576");
|
rlm@23
|
34
|
rlm@23
|
35
|
rlm@23
|
36 foreach my $bmark (@bmark_tests) {
|
rlm@23
|
37 $gcfg->add(name => $bmark,
|
rlm@23
|
38 tree => [ "benchmarks" ],
|
rlm@23
|
39 setup => "scripts/setup-null-bmark --silent=1 --compare=1 --data=../benchmarks/sort_array/$bmark $bmark",
|
rlm@23
|
40 feeder => "none",
|
rlm@23
|
41 ccount => 800000, #Hmmm.... may need to edit
|
rlm@23
|
42 );
|
rlm@23
|
43 }
|
rlm@23
|
44
|
rlm@23
|
45 $gcfg->action(@ARGV);
|