Skip to content

Commit f38a315

Browse files
committed
fix: Update README.md
1 parent 0f853a9 commit f38a315

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ suite('map', 'Measure .map performance with different functions', async (test) =
8585
File: examples/dist/exampleMap.perf.mjs
8686
Running Perf Suite: map
8787
Measure .map performance with different functions
88-
✔ map((a) => a.length) 28560.04 ops/sec 14016 iterations 490.76ms time
89-
✔ .map((a) => { return a.length; }) 16871.89 ops/sec 8336 iterations 494.08ms time
90-
✔ .map(Boolean) 7359.97 ops/sec 3656 iterations 496.74ms time
91-
✔ .map((a) => !a.length) 13735.05 ops/sec 6812 iterations 495.96ms time
92-
✔ .map((a) => { return a.length; }) 17403.23 ops/sec 8622 iterations 495.43ms time
88+
✔ map((a) => a.length) 27203.18 ops/sec 13352 iterations 490.82ms time
89+
✔ .map((a) => { return a.length; }) 15047.53 ops/sec 7437 iterations 494.23ms time
90+
✔ .map(Boolean) 7700.32 ops/sec 3827 iterations 496.99ms time
91+
✔ .map((a) => !a.length) 11501.15 ops/sec 5700 iterations 495.60ms time
92+
✔ .map((a) => { return a.length; }) 16183.73 ops/sec 8018 iterations 495.44ms time
9393
done.
9494
```
9595

packages/perf-insight/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--- @@inject: ../../README.md --->
22

3-
# Perf Bench
3+
# Performance Insight
44

55
Performance Benchmarking Suite for NodeJS.
66

@@ -77,11 +77,11 @@ suite('map', 'Measure .map performance with different functions', async (test) =
7777
File: examples/dist/exampleMap.perf.mjs
7878
Running Perf Suite: map
7979
Measure .map performance with different functions
80-
✔ map((a) => a.length) 28560.04 ops/sec 14016 iterations 490.76ms time
81-
✔ .map((a) => { return a.length; }) 16871.89 ops/sec 8336 iterations 494.08ms time
82-
✔ .map(Boolean) 7359.97 ops/sec 3656 iterations 496.74ms time
83-
✔ .map((a) => !a.length) 13735.05 ops/sec 6812 iterations 495.96ms time
84-
✔ .map((a) => { return a.length; }) 17403.23 ops/sec 8622 iterations 495.43ms time
80+
✔ map((a) => a.length) 27203.18 ops/sec 13352 iterations 490.82ms time
81+
✔ .map((a) => { return a.length; }) 15047.53 ops/sec 7437 iterations 494.23ms time
82+
✔ .map(Boolean) 7700.32 ops/sec 3827 iterations 496.99ms time
83+
✔ .map((a) => !a.length) 11501.15 ops/sec 5700 iterations 495.60ms time
84+
✔ .map((a) => { return a.length; }) 16183.73 ops/sec 8018 iterations 495.44ms time
8585
done.
8686
```
8787

static/example.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
File: examples/dist/exampleMap.perf.mjs
22
Running Perf Suite: map
33
Measure .map performance with different functions
4-
✔ map((a) => a.length) 28560.04 ops/sec 14016 iterations 490.76ms time
5-
✔ .map((a) => { return a.length; }) 16871.89 ops/sec 8336 iterations 494.08ms time
6-
✔ .map(Boolean) 7359.97 ops/sec 3656 iterations 496.74ms time
7-
✔ .map((a) => !a.length) 13735.05 ops/sec 6812 iterations 495.96ms time
8-
✔ .map((a) => { return a.length; }) 17403.23 ops/sec 8622 iterations 495.43ms time
4+
✔ map((a) => a.length) 27203.18 ops/sec 13352 iterations 490.82ms time
5+
✔ .map((a) => { return a.length; }) 15047.53 ops/sec 7437 iterations 494.23ms time
6+
✔ .map(Boolean) 7700.32 ops/sec 3827 iterations 496.99ms time
7+
✔ .map((a) => !a.length) 11501.15 ops/sec 5700 iterations 495.60ms time
8+
✔ .map((a) => { return a.length; }) 16183.73 ops/sec 8018 iterations 495.44ms time
99
done.

0 commit comments

Comments
 (0)