Script Preparation code:
Tests:
  • sort

  • localcompare

  • manual compare

  • date convert to date + sort a-b (timezone safe)

  • date convert to timestamp + sort (timezone safe)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    sort
    localcompare
    manual compare
    date convert to date + sort a-b (timezone safe)
    date convert to timestamp + sort (timezone safe)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
sort 4476587.0 Ops/sec
localcompare 427103.3 Ops/sec
manual compare 2852891.2 Ops/sec
date convert to date + sort a-b (timezone safe) 481481.3 Ops/sec
date convert to timestamp + sort (timezone safe) 467961.4 Ops/sec