Script Preparation code:
Tests:
  • Array.sort()

  • Array.toSorted()

  • [...Array].sort()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.sort()
    Array.toSorted()
    [...Array].sort()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:148.0) Gecko/20100101 Firefox/148.0
Firefox 148 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Array.sort() 622334.8 Ops/sec
Array.toSorted() 559286.9 Ops/sec
[...Array].sort() 532101.1 Ops/sec