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 |
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 |