> [email protected] bench:report
> nyc mocha bench/foo.js
main
✔ test
┌─────────┬────────────────────────────┬──────────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼────────────────────────────┼──────────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'foo([1, 2, 3, 4], false)' │ '22,639,352' │ 44.17087497173558 │ '±0.17%' │ 2263936 │
│ 1 │ 'foo([1, 2, 3, 4], true)' │ '11,631,084' │ 85.97650435163905 │ '±0.80%' │ 1163109 │
│ 2 │ 'bar([1, 2, 3, 4], false)' │ '13,012,439' │ 76.84954255348997 │ '±0.82%' │ 1301245 │
│ 3 │ 'bar([1, 2, 3, 4], true)' │ '11,809,713' │ 84.67606259901497 │ '±0.81%' │ 1180972 │
└─────────┴────────────────────────────┴──────────────┴───────────────────┴──────────┴─────────┘
1 passing (3s)
---------------------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
---------------------------------|---------|----------|---------|---------|-------------------
All files | 85.71 | 64.28 | 100 | 85.71 |
nodejs-benchmark-coverage | 76.19 | 64.28 | 100 | 76.19 |
index.js | 76.19 | 64.28 | 100 | 76.19 | 4,9,16,26,33
nodejs-benchmark-coverage/bench | 100 | 100 | 100 | 100 |
foo.js | 100 | 100 | 100 | 100 |
-
Notifications
You must be signed in to change notification settings - Fork 0
RafaelGSS/nodejs-benchmark-coverage
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published