Test #1 bubble_sorted_array vs Test#2 efficient_sorted_arrayFastest: Test#2 efficient_sorted_array (10.9x faster)
2,123 ops/sec
196 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 | 3,802 Ops/sec |
| Test #1 bubble_sorted_array | 247 Ops/sec |