Skip to content

Commit

Permalink
Fix tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Mar 18, 2018
1 parent 30fb15d commit 0ea6d8a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/html/pair_iterable_perf.html
Expand Up @@ -12,11 +12,11 @@
}

function measure_time(func) {
var start = performance.now();
func();
var stop = performance.now();
var start = performance.now();
func();
var stop = performance.now();

return (stop - start) / 1000.0;
return (stop - start) / 1000.0;
};

const ENTRY_COUNT = 10000;
Expand All @@ -29,13 +29,13 @@
t.add(i.toString(), i);
}

var result = collect(t.entries());
var result = collect(t.entries());
};

var avg = 0;
for (var i = 0; i < RUN_COUNT; i++) {
var time = measure_time(benchMe);
avg += time;
avg += time;
}
avg /= RUN_COUNT;

Expand Down

0 comments on commit 0ea6d8a

Please sign in to comment.