Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36
Chrome 72
Windows 7
Desktop
5 years ago
Test name Executions per second
3846masa/fdate 45776.5 Ops/sec
moment/moment 43270.7 Ops/sec
moment/luxon 36292.9 Ops/sec
taylorhakes/fecha 40771.9 Ops/sec
date-fns/date-fns 42382.2 Ops/sec
xx45/dayjs 30975.2 Ops/sec
felixge/node-dateformat 20682.3 Ops/sec
jonschlinkert/time-stamp 45056.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • 3846masa/fdate

  • moment/moment

  • moment/luxon

  • taylorhakes/fecha

  • date-fns/date-fns

  • xx45/dayjs

  • felixge/node-dateformat

  • jonschlinkert/time-stamp