UNPKG

digital-tree

Version:
26 lines (18 loc) 856 B
# digital-tree benchmark ## Platform info: Darwin 16.7.0 x64 Node.JS: 12.4.0 V8: 7.4.288.27-node.18 Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz × 4 ## Suite: Trie put ✔ current implementation 5,585 rps ✔ old implementation 4,910 rps - current implementation 0% (5,585 rps) (avg: 179μs) - old implementation -12.08% (4,910 rps) (avg: 203μs) ----------------------------------------------------------------------- ## Suite: Trie get ✔ current implementation 5,449 rps ✔ old implementation 5,214 rps - current implementation 0% (5,449 rps) (avg: 183μs) - old implementation -4.32% (5,214 rps) (avg: 191μs) -----------------------------------------------------------------------