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

Side by Side Diff: benchmarks/deltablue.js

Issue 3300031: Recalibrate benchmarks. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « benchmarks/crypto.js ('k') | benchmarks/earley-boyer.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 the V8 project authors. All rights reserved.
2 // Copyright 1996 John Maloney and Mario Wolczko. 2 // Copyright 1996 John Maloney and Mario Wolczko.
3 3
4 // This program is free software; you can redistribute it and/or modify 4 // This program is free software; you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by 5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation; either version 2 of the License, or 6 // the Free Software Foundation; either version 2 of the License, or
7 // (at your option) any later version. 7 // (at your option) any later version.
8 // 8 //
9 // This program is distributed in the hope that it will be useful, 9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details. 12 // GNU General Public License for more details.
13 // 13 //
14 // You should have received a copy of the GNU General Public License 14 // You should have received a copy of the GNU General Public License
15 // along with this program; if not, write to the Free Software 15 // along with this program; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 17
18 18
19 // This implementation of the DeltaBlue benchmark is derived 19 // This implementation of the DeltaBlue benchmark is derived
20 // from the Smalltalk implementation by John Maloney and Mario 20 // from the Smalltalk implementation by John Maloney and Mario
21 // Wolczko. Some parts have been translated directly, whereas 21 // Wolczko. Some parts have been translated directly, whereas
22 // others have been modified more aggresively to make it feel 22 // others have been modified more aggresively to make it feel
23 // more like a JavaScript program. 23 // more like a JavaScript program.
24 24
25 25
26 var DeltaBlue = new BenchmarkSuite('DeltaBlue', 30282, [ 26 var DeltaBlue = new BenchmarkSuite('DeltaBlue', 66118, [
27 new Benchmark('DeltaBlue', deltaBlue) 27 new Benchmark('DeltaBlue', deltaBlue)
28 ]); 28 ]);
29 29
30 30
31 /** 31 /**
32 * A JavaScript implementation of the DeltaBlue constraint-solving 32 * A JavaScript implementation of the DeltaBlue constraint-solving
33 * algorithm, as described in: 33 * algorithm, as described in:
34 * 34 *
35 * "The DeltaBlue Algorithm: An Incremental Constraint Hierarchy Solver" 35 * "The DeltaBlue Algorithm: An Incremental Constraint Hierarchy Solver"
36 * Bjorn N. Freeman-Benson and John Maloney 36 * Bjorn N. Freeman-Benson and John Maloney
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 edit.destroyConstraint(); 871 edit.destroyConstraint();
872 } 872 }
873 873
874 // Global variable holding the current planner. 874 // Global variable holding the current planner.
875 var planner = null; 875 var planner = null;
876 876
877 function deltaBlue() { 877 function deltaBlue() {
878 chainTest(100); 878 chainTest(100);
879 projectionTest(100); 879 projectionTest(100);
880 } 880 }
OLDNEW
« no previous file with comments | « benchmarks/crypto.js ('k') | benchmarks/earley-boyer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698