Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Chrome 83
Fedora
Desktop
4 years ago
Test name Executions per second
3846masa/fdate 32823.6 Ops/sec
moment/moment 29569.0 Ops/sec
moment/luxon 24437.9 Ops/sec
taylorhakes/fecha 30107.7 Ops/sec
date-fns/date-fns 29543.6 Ops/sec
xx45/dayjs 22206.5 Ops/sec
felixge/node-dateformat 17259.8 Ops/sec
jonschlinkert/time-stamp 30686.4 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