func vs funcinline vs func2 vs nofunc vs nofunc2 vs Ultra vs Ultra2Fastest: nofunc (1.4x faster)
135,750 ops/sec
133,752 ops/sec
130,768 ops/sec
130,733 ops/sec
117,669 ops/sec
109,341 ops/sec
95,609 ops/sec
118,040 ops/sec
117,276 ops/sec
116,578 ops/sec
Fastest: funcinline (1.1x faster)
186,755 ops/sec
162,591 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| func | |
| funcinline | |
| func2 | |
| nofunc | |
| nofunc2 | |
| Ultra | |
| Ultra2 |
| Test name | Executions per second |
|---|---|
| ✓ nofunc2 | 141,199 Ops/sec |
| nofunc | 140,662 Ops/sec |
| Ultra | 140,059 Ops/sec |
| Ultra2 | 139,802 Ops/sec |
| funcinline | 132,472 Ops/sec |
| func | 121,739 Ops/sec |
| func2 | 108,954 Ops/sec |