Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: js/setup_benchmarks.js

Issue 7821018: Add Richards and DeltaBlue benchmarks (Closed) Base URL: https://code.google.com/p/web-shootout/@master
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « js/run.js ('k') | js/worker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: js/setup_benchmarks.js
diff --git a/js/setup_benchmarks.js b/js/setup_benchmarks.js
index b31697a867cf4bbc50fe07983d472df5fd72273a..470513aea6ed9e96a5dc691943bf9c5dfd00771a 100644
--- a/js/setup_benchmarks.js
+++ b/js/setup_benchmarks.js
@@ -6,6 +6,8 @@
// specific to the benchmarks (e.g. parameters or normalization) goes here.
var normalization_constants = Object();
+normalization_constants["Richards"] = 35302;
+normalization_constants["DeltaBlue"] = 66118;
normalization_constants["Fannkuchredux"] = 64052288;
normalization_constants["Nbody"] = 73000000;
normalization_constants["Spectralnorm"] = 150020779;
@@ -31,6 +33,8 @@ function SetRunModel(model) {
}
function SetupSmallBenchmarks() {
+ SetupBenchmark("Richards", RichardsBenchmark, 10000);
+ SetupBenchmark("DeltaBlue", DeltaBlueBenchmark, 100);
SetupBenchmark("Fannkuchredux", FannkuchBenchmark, 10);
SetupBenchmark("Nbody", NbodyBenchmark, 1000000);
SetupBenchmark("Spectralnorm", SpectralnormBenchmark, 350);
@@ -44,6 +48,8 @@ function SetupSmallBenchmarks() {
}
function SetupLargeBenchmarks() {
+ SetupBenchmark("Richards", RichardsBenchmark, 1000000);
+ SetupBenchmark("DeltaBlue", DeltaBlueBenchmark, 10000);
SetupBenchmark("Fannkuchredux", FannkuchBenchmark, 11);
SetupBenchmark("Nbody", NbodyBenchmark, 10000000);
SetupBenchmark("Spectralnorm", SpectralnormBenchmark, 5500);
« no previous file with comments | « js/run.js ('k') | js/worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698