Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Chrome 74
Mac OS X 10.14.5
Desktop
5 years ago
Test name Executions per second
3846masa/fdate 76392.8 Ops/sec
moment/moment 70340.5 Ops/sec
moment/luxon 61195.2 Ops/sec
taylorhakes/fecha 68020.8 Ops/sec
date-fns/date-fns 67463.2 Ops/sec
xx45/dayjs 52195.3 Ops/sec
felixge/node-dateformat 42252.2 Ops/sec
jonschlinkert/time-stamp 68751.1 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