Skip to content

Commit

Permalink
add: number of operations in benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
qiao committed Jul 15, 2014
1 parent b9c1988 commit 1300f9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmark/benchmark.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
var FingerTree = require('..');


var t, i, len = 100000;

console.log('number of operations: ', len);

console.time('addFirst');
t = FingerTree.fromArray([]);
for (i = 0; i < len; ++i) {
Expand Down

0 comments on commit 1300f9d

Please sign in to comment.