Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
Chrome 79
Windows 8.1
Desktop
5 years ago
Test name Executions per second
3846masa/fdate 24566.3 Ops/sec
moment/moment 19734.4 Ops/sec
moment/luxon 3257.0 Ops/sec
taylorhakes/fecha 19889.7 Ops/sec
date-fns/date-fns 19606.9 Ops/sec
xx45/dayjs 14793.7 Ops/sec
felixge/node-dateformat 12524.6 Ops/sec
jonschlinkert/time-stamp 20059.9 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