Changeset 170881 in webkit


Ignore:
Timestamp:
Jul 8, 2014 2:24:31 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Add option to specify output file location in sunspider.
https://bugs.webkit.org/show_bug.cgi?id=134339

Patch by Gergo Balogh <gbalogh.u-szeged@partner.samsung.com> on 2014-07-08
Reviewed by Darin Adler.

PerformanceTests/SunSpider:

  • sunspider:

Tools:

  • Scripts/run-sunspider:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/PerformanceTests/SunSpider/ChangeLog

    r169559 r170881  
     12014-07-08  Gergo Balogh  <gbalogh.u-szeged@partner.samsung.com>
     2
     3        Add option to specify output file location in sunspider.
     4        https://bugs.webkit.org/show_bug.cgi?id=134339
     5
     6        Reviewed by Darin Adler.
     7
     8        * sunspider:
     9
    1102014-06-03  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
    211
  • trunk/PerformanceTests/SunSpider/sunspider

    r165676 r170881  
    4444my $testsPattern;
    4545my $testRuns = 10;
     46my $resultsFile = "";
    4647
    4748my $programName = basename($0);
     
    5859  --ubench          Use microbenchmark suite instead of regular tests. Same as --suite=ubench
    5960  --v8-suite        Use the V8 benchmark suite. Same as --suite=v8-v4
     61  --output          Override the default output path and filename
    6062  --parse-only      Use the parse-only benchmark suite. Same as --suite=parse-only
    6163EOF
     
    7173           'parse-only' => \$parseOnly,
    7274           'tests=s' => \$testsPattern,
     75           'output=s' => \$resultsFile,
    7376           'help' => \$showHelp);
    7477
     
    123126my $timeString = strftime "%Y-%m-%d-%H.%M.%S", localtime $^T;
    124127my $prefixFile = "$resultDirectory/sunspider-test-prefix.js";
    125 my $resultsFile = "$resultDirectory/sunspider-results-$timeString.js";
     128$resultsFile = "$resultDirectory/sunspider-results-$timeString.js" unless $resultsFile;
    126129
    127130sub writePrefixFile()
  • trunk/Tools/ChangeLog

    r170879 r170881  
     12014-07-08  Gergo Balogh  <gbalogh.u-szeged@partner.samsung.com>
     2
     3        Add option to specify output file location in sunspider.
     4        https://bugs.webkit.org/show_bug.cgi?id=134339
     5
     6        Reviewed by Darin Adler.
     7
     8        * Scripts/run-sunspider:
     9
    1102014-07-07  Alex Christensen  <achristensen@webkit.org>
    211
  • trunk/Tools/Scripts/run-sunspider

    r170750 r170881  
    4747my $showHelp = 0;
    4848my $testsPattern;
     49my $output = "";
    4950my $noBuild = 0;
    5051my $jsShellArgs="";
     
    6465  --v8-suite        Use the V8 benchmark suite. Same as --suite=v8-v4
    6566  --parse-only      Use the parse-only benchmark suite. Same as --suite=parse-only
     67  --output          Override the default output path and filename
    6668  --no-build        Do not try to build JSC before running the tests.
    6769EOF
     
    7779           'parse-only' => \$parseonly,
    7880           'tests=s' => \$testsPattern,
     81           'output=s' => \$output,
    7982           'help' => \$showHelp,
    8083           'no-build' => \$noBuild);
     
    127130push @args, "--tests", $testsPattern if $testsPattern;
    128131push @args, "--args", $jsShellArgs if $jsShellArgs;
     132push @args, "--output", $output if $output;
    129133
    130134exec currentPerlPath(), "./sunspider", @args;
Note: See TracChangeset for help on using the changeset viewer.