HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
day.js
620K/s
datefns
528K/s
luxon
314K/s
moment
150K/s

Fastest: day.js (4.1x faster)

View exact numbers
  • day.js: 620,162 ops/sec
  • datefns: 528,032 ops/sec
  • luxon: 314,470 ops/sec
  • moment: 149,543 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    datefns
    luxon
    moment
    day.js

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36
Chrome Mobile 141 on Android
View result in a separate tab
datefns
292K/s
day.js
255K/s
luxon
157K/s
moment
68K/s
View exact numbers
Test name Executions per second
datefns 291,600 Ops/sec
day.js 255,347 Ops/sec
luxon 157,166 Ops/sec
moment 67,544 Ops/sec