Skip to content

Commit

Permalink
Renamed RayTracerOO to Tracer.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmccutchan committed Apr 17, 2013
1 parent 5258286 commit 338a9b3
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 7 deletions.
3 changes: 0 additions & 3 deletions pkgs/benchmark_harness/example/RayTraceOO/js/run.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ query(a) {}
// the scene was ray traced correctly.
var checkNumber;

class RaytraceBenchmark extends BenchmarkBase {
const RaytraceBenchmark() : super("RayTrace");
class TracerBenchmark extends BenchmarkBase {
const TracerBenchmark() : super("Tracer");

void warmup() {
renderScene(null);
Expand All @@ -40,5 +40,5 @@ class RaytraceBenchmark extends BenchmarkBase {
}

void main() {
new RaytraceBenchmark().report();
new TracerBenchmark().report();
}
Original file line number Diff line number Diff line change
Expand Up @@ -798,4 +798,4 @@ function renderScene(){
raytracer.renderScene(scene, null, 0);
}

Benchmark.report("RayTraceOO", renderScene, renderScene);
Benchmark.report("Tracer", renderScene, renderScene);
6 changes: 6 additions & 0 deletions pkgs/benchmark_harness/example/Tracer/js/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

# d8 is a tool included with V8:
# https://code.google.com/p/v8/

d8 bench.js Tracer.js

0 comments on commit 338a9b3

Please sign in to comment.