Commit 42f920cf authored by yangguo@chromium.org's avatar yangguo@chromium.org

Update benchmark test suite.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/67763007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17934 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 2c7ebfa7
...@@ -64,7 +64,7 @@ class BenchmarksTestSuite(testsuite.TestSuite): ...@@ -64,7 +64,7 @@ class BenchmarksTestSuite(testsuite.TestSuite):
"octane/crypto", "octane/crypto",
"octane/deltablue", "octane/deltablue",
"octane/earley-boyer", "octane/earley-boyer",
"octane/gbemu", "octane/gbemu-part1",
"octane/mandreel", "octane/mandreel",
"octane/navier-stokes", "octane/navier-stokes",
"octane/pdfjs", "octane/pdfjs",
...@@ -72,6 +72,8 @@ class BenchmarksTestSuite(testsuite.TestSuite): ...@@ -72,6 +72,8 @@ class BenchmarksTestSuite(testsuite.TestSuite):
"octane/regexp", "octane/regexp",
"octane/richards", "octane/richards",
"octane/splay", "octane/splay",
"octane/typescript",
"octane/zlib",
"sunspider/3d-cube", "sunspider/3d-cube",
"sunspider/3d-morph", "sunspider/3d-morph",
...@@ -111,6 +113,14 @@ class BenchmarksTestSuite(testsuite.TestSuite): ...@@ -111,6 +113,14 @@ class BenchmarksTestSuite(testsuite.TestSuite):
elif testcase.path.startswith("octane"): elif testcase.path.startswith("octane"):
result.append(os.path.join(self.testroot, "octane/base.js")) result.append(os.path.join(self.testroot, "octane/base.js"))
result.append(os.path.join(self.testroot, "%s.js" % testcase.path)) result.append(os.path.join(self.testroot, "%s.js" % testcase.path))
if testcase.path.startswith("octane/gbemu"):
result.append(os.path.join(self.testroot, "octane/gbemu-part2.js"))
elif testcase.path.startswith("octane/typescript"):
result.append(os.path.join(self.testroot,
"octane/typescript-compiler.js"))
result.append(os.path.join(self.testroot, "octane/typescript-input.js"))
elif testcase.path.startswith("octane/zlib"):
result.append(os.path.join(self.testroot, "octane/zlib-data.js"))
result += ["-e", "BenchmarkSuite.RunSuites({});"] result += ["-e", "BenchmarkSuite.RunSuites({});"]
elif testcase.path.startswith("sunspider"): elif testcase.path.startswith("sunspider"):
result.append(os.path.join(self.testroot, "%s.js" % testcase.path)) result.append(os.path.join(self.testroot, "%s.js" % testcase.path))
...@@ -158,8 +168,8 @@ class BenchmarksTestSuite(testsuite.TestSuite): ...@@ -158,8 +168,8 @@ class BenchmarksTestSuite(testsuite.TestSuite):
self._DownloadIfNecessary( self._DownloadIfNecessary(
("http://svn.webkit.org/repository/webkit/trunk/PerformanceTests/" ("http://svn.webkit.org/repository/webkit/trunk/PerformanceTests/"
"SunSpider/tests/sunspider-1.0/"), "SunSpider/tests/sunspider-1.0.2/"),
"153700", "sunspider") "159499", "sunspider")
self._DownloadIfNecessary( self._DownloadIfNecessary(
("http://kraken-mirror.googlecode.com/svn/trunk/kraken/tests/" ("http://kraken-mirror.googlecode.com/svn/trunk/kraken/tests/"
...@@ -168,7 +178,7 @@ class BenchmarksTestSuite(testsuite.TestSuite): ...@@ -168,7 +178,7 @@ class BenchmarksTestSuite(testsuite.TestSuite):
self._DownloadIfNecessary( self._DownloadIfNecessary(
"http://octane-benchmark.googlecode.com/svn/trunk/", "http://octane-benchmark.googlecode.com/svn/trunk/",
"22", "octane") "26", "octane")
os.chdir(old_cwd) os.chdir(old_cwd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment