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

Side by Side Diff: benchmarks/raytrace.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/earley-boyer.js ('k') | benchmarks/regexp.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 // The ray tracer code in this file is written by Adam Burmister. It 1 // The ray tracer code in this file is written by Adam Burmister. It
2 // is available in its original form from: 2 // is available in its original form from:
3 // 3 //
4 // http://labs.flog.nz.co/raytracer/ 4 // http://labs.flog.nz.co/raytracer/
5 // 5 //
6 // It has been modified slightly by Google to work as a standalone 6 // It has been modified slightly by Google to work as a standalone
7 // benchmark, but the all the computational code remains 7 // benchmark, but the all the computational code remains
8 // untouched. This file also contains a copy of parts of the Prototype 8 // untouched. This file also contains a copy of parts of the Prototype
9 // JavaScript framework which is used by the ray tracer. 9 // JavaScript framework which is used by the ray tracer.
10 10
11 var RayTrace = new BenchmarkSuite('RayTrace', 533115, [ 11 var RayTrace = new BenchmarkSuite('RayTrace', 739989, [
12 new Benchmark('RayTrace', renderScene) 12 new Benchmark('RayTrace', renderScene)
13 ]); 13 ]);
14 14
15 15
16 // Variable used to hold a number that can be used to verify that 16 // Variable used to hold a number that can be used to verify that
17 // the scene was ray traced correctly. 17 // the scene was ray traced correctly.
18 var checkNumber; 18 var checkNumber;
19 19
20 20
21 // ------------------------------------------------------------------------ 21 // ------------------------------------------------------------------------
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 "renderDiffuse": renderDiffuse, 895 "renderDiffuse": renderDiffuse,
896 "renderHighlights": renderHighlights, 896 "renderHighlights": renderHighlights,
897 "renderShadows": renderShadows, 897 "renderShadows": renderShadows,
898 "renderReflections": renderReflections, 898 "renderReflections": renderReflections,
899 "rayDepth": rayDepth 899 "rayDepth": rayDepth
900 } 900 }
901 ); 901 );
902 902
903 raytracer.renderScene(scene, null, 0); 903 raytracer.renderScene(scene, null, 0);
904 } 904 }
OLDNEW
« no previous file with comments | « benchmarks/earley-boyer.js ('k') | benchmarks/regexp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698