Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15
Safari 14
Mac OS X 10.15.7
Desktop
4 years ago
Test name Executions per second
3846masa/fdate 435413.4 Ops/sec
moment/moment 278969.9 Ops/sec
moment/luxon 236147.2 Ops/sec
taylorhakes/fecha 353887.5 Ops/sec
date-fns/date-fns 258596.7 Ops/sec
xx45/dayjs 229192.0 Ops/sec
felixge/node-dateformat 14898.9 Ops/sec
jonschlinkert/time-stamp 341707.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