Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Windows
Desktop
2 years ago
Test name Executions per second
moment/luxon - format 103126.2 Ops/sec
Intl - format 139796.1 Ops/sec
moment/luxon - parse 244665.7 Ops/sec
Native parse 1288766.0 Ops/sec
date-fns (old) format 76101.8 Ops/sec
date-fns (old) parse 451017.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • moment/luxon - format

  • Intl - format

  • moment/luxon - parse

  • Native parse

  • date-fns (old) format

  • date-fns (old) parse