Test name | Executions per second |
---|---|
Math.min/max | 2250907.0 Ops/sec |
Math.min | 3983410.0 Ops/sec |
Math.max | 3988460.0 Ops/sec |
Ternary clamp | 4173927.0 Ops/sec |
Ternary min | 5653517.0 Ops/sec |
Ternary max | 5626817.0 Ops/sec |
Ternary clamp inlined | 3342762.0 Ops/sec |
Ternary min inlined | 5570220.0 Ops/sec |
Ternary max inlined | 5443852.0 Ops/sec |