Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
pass variation to setup & cleanup of benchmark
  • Loading branch information
rafaelw committed Oct 13, 2014
1 parent 40c928e commit eb6dc7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/benchmark.js
Expand Up @@ -44,7 +44,7 @@
cleanup: function() {},

runOne: function(variation) {
this.setup();
this.setup(variation);

var before = now();
this.test(variation);
Expand All @@ -56,7 +56,7 @@

var after = now();

self.cleanup();
self.cleanup(variation);
return after - before;
});
},
Expand Down

0 comments on commit eb6dc7d

Please sign in to comment.