|
|
|
|
|
by pietroglyph
2757 days ago
|
|
Interestingly, my numbers are completely different relative to each other when compared with yours... I wonder how the number of runs is determined and if this affects the results. Benchmarking, the higher ops/sec the better.
Firefox 63.0 on Fedora 64-bit.
Test 100 needles against 16 dictionaries of hostnames
- Set-based x 1,707 ops/sec ±1.93% (60 runs sampled)
- Regex-based x 4,078 ops/sec ±0.88% (25 runs sampled)
- Trie-based (1st-gen) x 10,038 ops/sec ±1.41% (64 runs sampled)
- Trie-based JS (2nd-gen) x 7,258 ops/sec ±1.03% (40 runs sampled)
- Trie-based WASM (2nd-gen) x 8,033 ops/sec ±1.08% (44 runs sampled)
Done.
|
|