Run details:
Mozilla/5.0 (Linux; Android 12; NTH-NX9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
Convert string to date using date-fns ParseJSON then get ms offset 497730.9 Ops/sec
Convert string to date using native Date.parse then get ms offset 1155891.1 Ops/sec
Convert string epochms and get ms offset 1723933.8 Ops/sec
Tests:
  • Convert string to date using native Date.parse then get ms offset

  • Convert string epochms and get ms offset


;