func2 vs func1Fastest: func2 (1.9x faster)
65 ops/sec
34 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| func2 | |
| func1 |
| Test name | Executions per second |
|---|---|
| ✓ func2 | 65 Ops/sec |
| func1 | 34 Ops/sec |