Test case name | Result |
---|---|
Switch Case | |
Object | |
Map | |
Array | |
Switch Case Indirect Value |
Test name | Executions per second |
---|---|
Switch Case | 183031.5 Ops/sec |
Object | 233977.1 Ops/sec |
Map | 229624.6 Ops/sec |
Array | 244591.4 Ops/sec |
Switch Case Indirect Value | 84245.8 Ops/sec |