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: 3 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1.2 Safari/605.1.15
Safari 17 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
sort 394783.9 Ops/sec
localcompare 470501.7 Ops/sec
manual compare 314725.1 Ops/sec
date convert to date + sort a-b (timezone safe) 56486.5 Ops/sec
date convert to timestamp + sort (timezone safe) 100344.2 Ops/sec


;