Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Chrome 69
Windows 7
Desktop
6 years ago
Test name Executions per second
3846masa/fdate 33791.9 Ops/sec
moment/moment 33055.0 Ops/sec
moment/luxon 31099.8 Ops/sec
taylorhakes/fecha 34769.9 Ops/sec
date-fns/date-fns 33027.8 Ops/sec
xx45/dayjs 31770.5 Ops/sec
felixge/node-dateformat 18958.8 Ops/sec
jonschlinkert/time-stamp 33233.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