Skip to content

Commit 2f61cb3

Browse files
committed
fix
1 parent f7147e7 commit 2f61cb3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

benchmark/stacks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ ptime.setTime('parraystack100000');
3131
for(let i = 0; i < 100000; i++) {
3232
stack.pop()
3333
}
34-
console.log("Pop Array 100,000 Stack timing:", ptime.elapsedTime('parraystack100000').formatted);
34+
console.log("Pop 100,000 Array Stack timing:", ptime.elapsedTime('parraystack100000').formatted);

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"private": false,
1010
"scripts": {
1111
"test": "npx mocha",
12+
"bench:all": "node benchmark/stacks.js && node benchmark/queues.js",
1213
"bench:stacks": "node benchmark/stacks.js",
1314
"bench:queues": "node benchmark/queues.js"
1415
},

0 commit comments

Comments
 (0)