Test case name | Result |
---|---|
Switch function inside | |
Switch with text | |
Object with function | |
Object with text |
Test name | Executions per second |
---|---|
Switch function inside | 7572657.0 Ops/sec |
Switch with text | 8100350.0 Ops/sec |
Object with function | 10024980.0 Ops/sec |
Object with text | 10195070.0 Ops/sec |