Run details:
Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.17 Safari/537.36
Chrome 68
Windows 8
Desktop
6 years ago
Test name Executions per second
3846masa/fdate 82199.0 Ops/sec
moment/moment 66963.7 Ops/sec
moment/luxon 57438.1 Ops/sec
taylorhakes/fecha 70757.5 Ops/sec
date-fns/date-fns 65298.4 Ops/sec
xx45/dayjs 66387.4 Ops/sec
felixge/node-dateformat 33125.5 Ops/sec
jonschlinkert/time-stamp 75676.6 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