Test name | Executions per second |
---|---|
Math.min/max | 2274186.0 Ops/sec |
Math.min | 4049676.0 Ops/sec |
Math.max | 4027031.0 Ops/sec |
Ternary clamp | 4246421.0 Ops/sec |
Ternary min | 5703081.0 Ops/sec |
Ternary max | 5733435.0 Ops/sec |
Ternary clamp inlined | 3409081.0 Ops/sec |
Ternary min inlined | 5721079.0 Ops/sec |
Ternary max inlined | 5709716.0 Ops/sec |