Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafaelgss/nodejs-benchmark-coverage
https://github.com/rafaelgss/nodejs-benchmark-coverage
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/rafaelgss/nodejs-benchmark-coverage
- Owner: RafaelGSS
- Created: 2024-07-22T20:35:18.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-22T20:38:46.000Z (4 months ago)
- Last Synced: 2024-10-06T01:57:15.675Z (about 2 months ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nodejs-benchmark-coverage
```
> [email protected] bench:report
> nyc mocha bench/foo.jsmain
✔ 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 |
```