Test name | Executions per second |
---|---|
Math.min/max | 647847.3 Ops/sec |
Math.min | 1075364.0 Ops/sec |
Math.max | 884850.5 Ops/sec |
Ternary clamp | 1094191.0 Ops/sec |
Ternary min | 1745176.0 Ops/sec |
Ternary max | 1765379.0 Ops/sec |
Ternary clamp inlined | 1006567.0 Ops/sec |
Ternary min inlined | 1733828.0 Ops/sec |
Ternary max inlined | 1770757.0 Ops/sec |