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 | 151.2 Ops/sec |
Conspicuous Obj lookup | 133.1 Ops/sec |
Conspicuous Map lookup 2 | 151.0 Ops/sec |
Conspicuous Obj lookup 2 | 133.4 Ops/sec |
Map.entries | 4085.7 Ops/sec |
JSON.stringify | 294.0 Ops/sec |
parse Map entries | 7498813.5 Ops/sec |
parse JSON | 292.5 Ops/sec |
encode & decode Map | 955.6 Ops/sec |
encode & decode JSON | 140.6 Ops/sec |