Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.142 Safari/537.36
Chrome 87
Windows
Desktop
3 years ago
Test name Executions per second
3846masa/fdate 6531.0 Ops/sec
moment/moment 8279.2 Ops/sec
moment/luxon 8145.4 Ops/sec
taylorhakes/fecha 8592.5 Ops/sec
date-fns/date-fns 7581.7 Ops/sec
xx45/dayjs 7104.1 Ops/sec
felixge/node-dateformat 6170.5 Ops/sec
jonschlinkert/time-stamp 7755.1 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