Test name | Executions per second |
---|---|
Math.min/max | 2249431.0 Ops/sec |
Math.min | 4037289.0 Ops/sec |
Math.max | 4040122.0 Ops/sec |
Ternary clamp | 4249499.0 Ops/sec |
Ternary min | 5665480.0 Ops/sec |
Ternary max | 5693924.0 Ops/sec |
Ternary clamp inlined | 3380307.0 Ops/sec |
Ternary min inlined | 5657158.0 Ops/sec |
Ternary max inlined | 5656695.0 Ops/sec |