Tests:
  • Convert string to date using native Date.parse then get ms offset

  • Convert string epochms and get ms offset

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Convert string to date using native Date.parse then get ms offset
    Convert string epochms and get ms offset

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Convert string to date using native Date.parse then get ms offset 3322053.2 Ops/sec
Convert string epochms and get ms offset 5001107.5 Ops/sec


;