|
|
|
|
|
by jannes
2757 days ago
|
|
I got these results on an i7 8700K (not overclocked): Benchmarking, the higher ops/sec the better.
Firefox 63.0 on Windows 10 64-bit.
Test 100 needles against 16 dictionaries of hostnames
- Set-based x 1,917 ops/sec ±1.21% (14 runs sampled)
- Trie-based (2nd-gen) x 829 ops/sec ±0.64% (66 runs sampled)
Done.
- Regex-based x 4,475 ops/sec ±0.37% (27 runs sampled)
- Trie-based (1st-gen) x 8,624 ops/sec ±0.29% (48 runs sampled)
- Trie-based JS (2nd-gen) x 8,848 ops/sec ±0.43% (49 runs sampled)
- Trie-based WASM (2nd-gen) x 10,441 ops/sec ±0.30% (57 runs sampled)
Done.
Interestingly, my CPU only boosts to 4.3 GHz during this benchmark and CPU utilisation of the Firefox process only goes up to 8%. |
|