Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
Chrome 89
Windows
Desktop
3 years ago
Test name Executions per second
3846masa/fdate 79637.5 Ops/sec
moment/moment 85485.8 Ops/sec
moment/luxon 74733.7 Ops/sec
taylorhakes/fecha 60605.9 Ops/sec
date-fns/date-fns 64448.9 Ops/sec
xx45/dayjs 54947.0 Ops/sec
felixge/node-dateformat 31649.0 Ops/sec
jonschlinkert/time-stamp 68549.0 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