HTML Preparation code:
Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Luxon (from string)
    Luxon (from existing DateTimes)
    Raw math (from minutes)
    Raw math (from milliseconds)
    Javascript date time object (string parsing)
    Javascript date time object (already created)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Chrome 133 on Windows
View result in a separate tab
Raw math (from milliseconds)
179.6M/s
Raw math (from minutes)
179.1M/s
Javascript date time object (already created)
11.7M/s
Luxon (from existing DateTimes)
10.0M/s
Javascript date time object (string parsing)
2.4M/s
Luxon (from string)
159K/s
View exact numbers
Test name Executions per second
Raw math (from milliseconds) 179,620,832 Ops/sec
Raw math (from minutes) 179,087,664 Ops/sec
Javascript date time object (already created) 11,673,936 Ops/sec
Luxon (from existing DateTimes) 9,995,872 Ops/sec
Javascript date time object (string parsing) 2,377,016 Ops/sec
Luxon (from string) 158,790 Ops/sec