Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0
Firefox 92
Ubuntu
Desktop
2 years ago
Test name Executions per second
Convert string to date using date-fns ParseJSON then get ms offset 1577630.5 Ops/sec
Convert string to date using native Date.parse then get ms offset 5426025.5 Ops/sec
Convert string epochms and get ms offset 6983045.0 Ops/sec
Tests:
  • Convert string to date using native Date.parse then get ms offset

  • Convert string epochms and get ms offset