Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106
Linux
Desktop
2 years ago
Test name Executions per second
Convert string to date using date-fns ParseJSON then get ms offset 1113101.0 Ops/sec
Convert string to date using native Date.parse then get ms offset 2776874.2 Ops/sec
Convert string epochms and get ms offset 4597038.5 Ops/sec
Tests:
  • Convert string to date using native Date.parse then get ms offset

  • Convert string epochms and get ms offset


;