Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
typedArray sort
28K/s
array sort
1K/s

Fastest: typedArray sort (23.3x faster)

View exact numbers
  • typedArray sort: 27,716 ops/sec
  • array sort: 1,192 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
    array sort
    typedArray sort

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Chrome 141 on Mac OS X 10.15.7
View result in a separate tab
typedArray sort
41K/s
array sort
2K/s
View exact numbers
Test name Executions per second
typedArray sort 40,638 Ops/sec
array sort 1,818 Ops/sec