Skip to content

Commit

Permalink
bench: run benchmarks with Node.js 6.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Nov 1, 2016
1 parent a474795 commit f163ca3
Showing 1 changed file with 34 additions and 51 deletions.
85 changes: 34 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,98 +58,81 @@ $ npm run-script bench
> etag@1.6.0 bench nodejs-etag
> node benchmark/index.js

http_parser@1.0
node@0.10.33
v8@3.14.5.9
ares@1.9.0-DEV
uv@0.10.29
zlib@1.2.3
modules@11
openssl@1.0.1j
http_parser@2.7.0
node@6.9.1
v8@5.1.281.84
uv@1.9.1
zlib@1.2.8
ares@1.10.1-DEV
icu@57.1
modules@48
openssl@1.0.2j

> node benchmark/body0-100b.js

100B body

1 test completed.
2 tests completed.
3 tests completed.
4 tests completed.

* buffer - strong x 289,198 ops/sec ±1.09% (190 runs sampled)
* buffer - weak x 287,838 ops/sec ±0.91% (189 runs sampled)
* string - strong x 284,586 ops/sec ±1.05% (192 runs sampled)
* string - weak x 287,439 ops/sec ±0.82% (192 runs sampled)
* buffer - strong x 505,815 ops/sec ±0.50% (191 runs sampled)
* buffer - weak x 500,908 ops/sec ±0.76% (180 runs sampled)
string - strong x 472,200 ops/sec ±0.82% (184 runs sampled)
string - weak x 476,013 ops/sec ±0.65% (183 runs sampled)

> node benchmark/body1-1kb.js

1KB body

1 test completed.
2 tests completed.
3 tests completed.
4 tests completed.

* buffer - strong x 212,423 ops/sec ±0.75% (193 runs sampled)
* buffer - weak x 211,871 ops/sec ±0.74% (194 runs sampled)
string - strong x 205,291 ops/sec ±0.86% (194 runs sampled)
string - weak x 208,463 ops/sec ±0.79% (192 runs sampled)
* buffer - strong x 304,590 ops/sec ±0.33% (184 runs sampled)
* buffer - weak x 303,541 ops/sec ±0.45% (185 runs sampled)
string - strong x 231,653 ops/sec ±0.80% (190 runs sampled)
string - weak x 232,628 ops/sec ±0.77% (191 runs sampled)

> node benchmark/body2-5kb.js

5KB body

1 test completed.
2 tests completed.
3 tests completed.
4 tests completed.

* buffer - strong x 92,901 ops/sec ±0.58% (195 runs sampled)
* buffer - weak x 93,045 ops/sec ±0.65% (192 runs sampled)
string - strong x 89,621 ops/sec ±0.68% (194 runs sampled)
string - weak x 90,070 ops/sec ±0.70% (196 runs sampled)
* buffer - strong x 106,489 ops/sec ±0.32% (191 runs sampled)
* buffer - weak x 106,141 ops/sec ±0.46% (192 runs sampled)
string - strong x 69,743 ops/sec ±0.57% (190 runs sampled)
string - weak x 70,490 ops/sec ±0.41% (192 runs sampled)

> node benchmark/body3-10kb.js

10KB body

1 test completed.
2 tests completed.
3 tests completed.
4 tests completed.

* buffer - strong x 54,220 ops/sec ±0.85% (192 runs sampled)
* buffer - weak x 54,069 ops/sec ±0.83% (191 runs sampled)
string - strong x 53,078 ops/sec ±0.53% (194 runs sampled)
string - weak x 53,849 ops/sec ±0.47% (197 runs sampled)
* buffer - strong x 58,854 ops/sec ±0.30% (193 runs sampled)
* buffer - weak x 58,298 ops/sec ±0.38% (190 runs sampled)
string - strong x 37,191 ops/sec ±0.35% (192 runs sampled)
string - weak x 37,362 ops/sec ±0.35% (194 runs sampled)

> node benchmark/body4-100kb.js

100KB body

1 test completed.
2 tests completed.
3 tests completed.
4 tests completed.

* buffer - strong x 6,673 ops/sec ±0.15% (197 runs sampled)
* buffer - weak x 6,716 ops/sec ±0.12% (198 runs sampled)
string - strong x 6,357 ops/sec ±0.14% (197 runs sampled)
string - weak x 6,344 ops/sec ±0.21% (197 runs sampled)
* buffer - strong x 6,558 ops/sec ±0.10% (194 runs sampled)
* buffer - weak x 6,564 ops/sec ±0.11% (194 runs sampled)
string - strong x 4,004 ops/sec ±0.12% (193 runs sampled)
string - weak x 3,983 ops/sec ±0.22% (193 runs sampled)

> node benchmark/stats.js

stats
stat

1 test completed.
2 tests completed.
3 tests completed.
4 tests completed.

* real - strong x 1,671,989 ops/sec ±0.13% (197 runs sampled)
* real - weak x 1,681,297 ops/sec ±0.12% (198 runs sampled)
fake - strong x 927,063 ops/sec ±0.14% (198 runs sampled)
fake - weak x 914,461 ops/sec ±0.41% (191 runs sampled)
* real - strong x 1,465,099 ops/sec ±0.45% (190 runs sampled)
* real - weak x 1,451,709 ops/sec ±0.60% (190 runs sampled)
fake - strong x 637,166 ops/sec ±0.28% (191 runs sampled)
fake - weak x 632,457 ops/sec ±0.35% (193 runs sampled)
```

## License
Expand Down

0 comments on commit f163ca3

Please sign in to comment.