HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 55 community runs

Desktop Results:
Chrome 50 runs
Test#2 efficient_sorted_array
2K/s
Test #1 bubble_sorted_array
187/s

Fastest: Test#2 efficient_sorted_array (11.0x faster)

View exact numbers
  • Test#2 efficient_sorted_array: 2,054 ops/sec
  • Test #1 bubble_sorted_array: 187 ops/sec
Mobile Results:
Chrome 5 runs
Test#2 efficient_sorted_array
4K/s
Test #1 bubble_sorted_array
340/s

Fastest: Test#2 efficient_sorted_array (12.3x faster)

View exact numbers
  • Test#2 efficient_sorted_array: 4,199 ops/sec
  • Test #1 bubble_sorted_array: 340 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Test #1 bubble_sorted_array
    Test#2 efficient_sorted_array

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 21 hours ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 Edg/151.0.0.0
Chrome 151 on Windows
View result in a separate tab
Test#2 efficient_sorted_array
3K/s
Test #1 bubble_sorted_array
194/s
View exact numbers
Test name Executions per second
Test#2 efficient_sorted_array 2,852 Ops/sec
Test #1 bubble_sorted_array 194 Ops/sec