Script Preparation code:
Tests:
  • Simple

  • toISOString()

  • Simple with cached date

  • toISOString() with cached date

  • Simple with local date

  • toISOString() with local date

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Simple
    toISOString()
    Simple with cached date
    toISOString() with cached date
    Simple with local date
    toISOString() with local date

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36 OPR/67.0.3575.137
Opera 67 on Windows
View result in a separate tab
Test name Executions per second
Simple 520032.2 Ops/sec
toISOString() 409716.8 Ops/sec
Simple with cached date 1917644.0 Ops/sec
toISOString() with cached date 486593.2 Ops/sec
Simple with local date 1197104.0 Ops/sec
toISOString() with local date 418245.2 Ops/sec