Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36
Chrome 68
Windows 7
Desktop
6 years ago
Test name Executions per second
3846masa/fdate 90304.8 Ops/sec
moment/moment 80662.8 Ops/sec
moment/luxon 63994.6 Ops/sec
taylorhakes/fecha 76241.8 Ops/sec
date-fns/date-fns 77084.2 Ops/sec
xx45/dayjs 81822.7 Ops/sec
felixge/node-dateformat 39980.1 Ops/sec
jonschlinkert/time-stamp 88355.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