Test case name | Result |
---|---|
Conspicuous Map lookup | |
Conspicuous Obj lookup | |
Conspicuous Map lookup 2 | |
Conspicuous Obj lookup 2 | |
Map.entries | |
JSON.stringify | |
parse Map entries | |
parse JSON | |
encode & decode Map | |
encode & decode JSON |
Test name | Executions per second |
---|---|
Conspicuous Map lookup | 147.1 Ops/sec |
Conspicuous Obj lookup | 128.8 Ops/sec |
Conspicuous Map lookup 2 | 147.6 Ops/sec |
Conspicuous Obj lookup 2 | 129.7 Ops/sec |
Map.entries | 29962716.0 Ops/sec |
JSON.stringify | 293.3 Ops/sec |
parse Map entries | 7525545.5 Ops/sec |
parse JSON | 293.1 Ops/sec |
encode & decode Map | 1121.7 Ops/sec |
encode & decode JSON | 144.0 Ops/sec |