HTML Preparation code:
Script Preparation code:
Tests:
  • 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)

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: 2 months 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
Test name Executions per second
Luxon (from string) 158789.8 Ops/sec
Luxon (from existing DateTimes) 9995872.0 Ops/sec
Raw math (from minutes) 179087664.0 Ops/sec
Raw math (from milliseconds) 179620832.0 Ops/sec
Javascript date time object (string parsing) 2377015.5 Ops/sec
Javascript date time object (already created) 11673936.0 Ops/sec