Test name | Executions per second |
---|---|
Switch | 385.5 Ops/sec |
Object Literal | 396.6 Ops/sec |
If Else | 397.7 Ops/sec |
Object Literal defined outside function | 396.1 Ops/sec |
Map | 350.4 Ops/sec |
Map - defined outsid function | 390.7 Ops/sec |
If - just for Jason ;P | 385.1 Ops/sec |