Script Preparation code:
AخA
 
var a = [...Array(100)].map(_ => Math.random());
var ta = (new Float64Array(100)).map(_ => Math.random());
Tests:
  • array sort

     
    a.sort();
  • typedArray sort

     
    ta.sort();
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    array sort
    typedArray sort

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 days ago)
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128 on Linux
View result in a separate tab
Test name Executions per second
array sort 43861.7 Ops/sec
typedArray sort 671559.6 Ops/sec