(no title)
hornetblack | 7 years ago
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,443 ops/sec ±3.46% (54 runs sampled)
- Regex-based x 4,093 ops/sec ±1.18% (25 runs sampled)
- Trie-based (1st-gen) x 8,993 ops/sec ±1.92% (59 runs sampled)
- Trie-based JS (2nd-gen) x 7,923 ops/sec ±2.81% (44 runs sampled)
- Trie-based WASM (2nd-gen) x 10,100 ops/sec ±1.75% (54 runs sampled)
Done.
pietroglyph|7 years ago
DiabloD3|7 years ago
jannes|7 years ago
Nullabillity|7 years ago
gorhill|7 years ago
X-Istence|7 years ago
Hardware:
MacBook Pro (15-inch, 2017)
Processor: 2.9 GHz Intel Core i7
Memory: 16 GB 2133 MHz LPDDR3
Graphics: Radeon Pro 560 4096 MB
Intel HD Graphics 630 1536 MB
xhruso00|7 years ago
unknown|7 years ago
[deleted]