Test #1 bubble_sorted_array vs Test#2 efficient_sorted_arrayFastest: Test#2 efficient_sorted_array (11.0x faster)
2,054 ops/sec
187 ops/sec
Fastest: Test#2 efficient_sorted_array (12.3x faster)
4,199 ops/sec
340 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Test #1 bubble_sorted_array | |
| Test#2 efficient_sorted_array |
| Test name | Executions per second |
|---|---|
| ✓ Test#2 efficient_sorted_array | 2,852 Ops/sec |
| Test #1 bubble_sorted_array | 194 Ops/sec |