Math.max vs ReduceFastest: Reduce (2.8x faster)
316,532 ops/sec
114,761 ops/sec
Fastest: Reduce (1.2x faster)
57,266 ops/sec
46,386 ops/sec
Fastest: Reduce (1.9x faster)
131,349 ops/sec
70,161 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Math.max | |
| Reduce |
| Test name | Executions per second |
|---|---|
| ✓ Math.max | 264,446 Ops/sec |
| Reduce | 46,007 Ops/sec |