HTML Preparation code:
Script Preparation code:
Tests:
  • working with millis then converting

  • working with minutes directly

  • working with minutes directly (with a wrapped function call to see if that causes slowness)

  • more wrapping to see performance impact

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    working with millis then converting
    working with minutes directly
    working with minutes directly (with a wrapped function call to see if that causes slowness)
    more wrapping to see performance impact

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
working with millis then converting 135226016.0 Ops/sec
working with minutes directly 152305872.0 Ops/sec
working with minutes directly (with a wrapped function call to see if that causes slowness) 153816896.0 Ops/sec
more wrapping to see performance impact 125217944.0 Ops/sec