Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 1.59 KB

benchmark.md

File metadata and controls

63 lines (49 loc) · 1.59 KB

Benchmark Report

version murmurhash(utf8) murmurhash(ascii)
1.0.1 6,978,981 8,238,934
1.0.0 8,212,544 9,042,734
0.0.4 3,631,370 3,528,969

History

1.0.1

$ node test/benchmark.js

murmurhash2js 3389647783
murmurhash 3389647783
murmurhash2js 3864203294
murmurhash 3300337389

node version: v0.11.14, date: Tue Jan 13 2015 15:46:52 GMT+0800 (CST)
Starting...
4 tests completed.

murmurhash(ascii)    x 8,238,934 ops/sec ±1.45% (92 runs sampled)
murmurhash2js(ascii) x 6,629,692 ops/sec ±6.85% (82 runs sampled)
murmurhash(utf8)     x 6,978,981 ops/sec ±4.00% (86 runs sampled)
murmurhash2js(utf8)  x 3,519,306 ops/sec ±10.93% (76 runs sampled)

1.0.0

$ node test/benchmark.js

murmurhash2js 3389647783
murmurhash 3389647783
murmurhash2js 3864203294
murmurhash 3300337389

node version: v0.11.14, date: Thu Sep 25 2014 09:38:23 GMT+0800 (CST)
Starting...
4 tests completed.

murmurhash(ascii)    x 9,042,734 ops/sec ±1.69% (92 runs sampled)
murmurhash2js(ascii) x 8,044,771 ops/sec ±1.21% (93 runs sampled)
murmurhash(utf8)     x 8,212,544 ops/sec ±1.15% (100 runs sampled)
murmurhash2js(utf8)  x 4,489,553 ops/sec ±1.12% (96 runs sampled)

0.0.4

$ node test/benchmark.js
3389647783
3389647783
3864203294
3300337389
murmurhash(ascii)      x 3,528,969 ops/sec ±4.52% (85 runs sampled)
murmurhash2js(ascii)   x 4,386,007 ops/sec ±2.50% (93 runs sampled)
murmurhash(utf8)       x 3,631,370 ops/sec ±3.10% (94 runs sampled)
murmurhash2js(utf8)    x 2,514,194 ops/sec ±1.43% (94 runs sampled)