Max with apply vs Max with spread operatorFastest: Max with apply (22.5x faster)
6,473,030 ops/sec
287,314 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Max with apply | |
| Max with spread operator |
| Test name | Executions per second |
|---|---|
| ✓ Max with apply | 146,315,968 Ops/sec |
| Max with spread operator | 51,231 Ops/sec |