Tests:
  • ISO strings

    AخA
     
    const now = new Date();
    const serialized = now.toISOString();
    const parsed = new Date(serialized);
  • UNIX times

     
    const now = new Date();
    const serialized = now.getTime();
    const parsed = new Date(serialized);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    ISO strings
    UNIX times

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36
Chrome 80 on Mac OS X 10.15.3
View result in a separate tab
Test name Executions per second
ISO strings 701687.1 Ops/sec
UNIX times 1573686.0 Ops/sec