Test name | Executions per second |
---|---|
Switch | 395.9 Ops/sec |
Object Literal | 395.3 Ops/sec |
If Else | 397.9 Ops/sec |
Object Literal defined outside function | 397.2 Ops/sec |
Map | 341.7 Ops/sec |
Map - defined outsid function | 393.6 Ops/sec |
If - just for Jason ;P | 400.3 Ops/sec |