summaryrefslogtreecommitdiffstats
path: root/WebKitTools/Scripts/run-sunspider
diff options
context:
space:
mode:
Diffstat (limited to 'WebKitTools/Scripts/run-sunspider')
-rwxr-xr-xWebKitTools/Scripts/run-sunspider10
1 files changed, 7 insertions, 3 deletions
diff --git a/WebKitTools/Scripts/run-sunspider b/WebKitTools/Scripts/run-sunspider
index e63f5d1..1f0d056 100755
--- a/WebKitTools/Scripts/run-sunspider
+++ b/WebKitTools/Scripts/run-sunspider
@@ -41,6 +41,7 @@ my $testRuns = 10; # This number may be different from what sunspider defaults t
my $runShark = 0;
my $runShark20 = 0;
my $runSharkCache = 0;
+my $suite = "";
my $ubench = 0;
my $v8 = 0;
my $parseonly = 0;
@@ -59,9 +60,10 @@ Usage: $programName [options] [options to pass to build system]
--shark Sample with the Mac OS X "Shark" performance testing tool (implies --runs=1)
--shark20 Like --shark, but with a 20 microsecond sampling interval
--shark-cache Like --shark, but performs a L2 cache-miss sample instead of time sample
- --ubench Use microbenchmark suite instead of regular tests (to check for core execution regressions)
- --v8 Use the V8 benchmark suite.
- --parse-only Use the parse-only benchmark suite
+ --suite Select a specific benchmark suite. The default is sunspider-0.9.1
+ --ubench Use microbenchmark suite instead of regular tests. Same as --suite=ubench
+ --v8-suite Use the V8 benchmark suite. Same as --suite=v8-v4
+ --parse-only Use the parse-only benchmark suite. Same as --suite=parse-only
EOF
GetOptions('root=s' => sub { my ($x, $value) = @_; $root = $value; setConfigurationProductDir(Cwd::abs_path($root)); },
@@ -70,6 +72,7 @@ GetOptions('root=s' => sub { my ($x, $value) = @_; $root = $value; setConfigurat
'shark' => \$runShark,
'shark20' => \$runShark20,
'shark-cache' => \$runSharkCache,
+ 'suite=s' => \$suite,
'ubench' => \$ubench,
'v8' => \$v8,
'parse-only' => \$parseonly,
@@ -117,6 +120,7 @@ push @args, "--set-baseline" if $setBaseline;
push @args, "--shark" if $runShark;
push @args, "--shark20" if $runShark20;
push @args, "--shark-cache" if $runSharkCache;
+push @args, "--suite=${suite}" if $suite;
push @args, "--ubench" if $ubench;
push @args, "--v8" if $v8;
push @args, "--parse-only" if $parseonly;