Test case name | Result |
---|---|
Int switch | |
str switch | |
int if-else | |
str if-else | |
int object-key | |
str object-key |
Test name | Executions per second |
---|---|
Int switch | 161273.8 Ops/sec |
str switch | 158464.6 Ops/sec |
int if-else | 76097.7 Ops/sec |
str if-else | 69924.1 Ops/sec |
int object-key | 166777.5 Ops/sec |
str object-key | 161855.7 Ops/sec |