The duration filed on the Method
class is incorrectly reported in summary
#9
Labels
bug
Something isn't working
Method
class is incorrectly reported in summary
#9
The
duration
field of theMethod
class is determined based onpowerly/R/Method.R
Lines 172 to 179 in d6be4e6
as
powerly/R/Method.R
Lines 184 to 185 in d6be4e6
and then reported in the summary as follows:
powerly/R/Method.R
Lines 210 to 211 in d6be4e6
When the method takes more the 60 seconds, the units of the
duration
field change from seconds to minutes, courtesy of the defaultdifftime
function. For example:I think it's better to just use the same unit everywhere, e.g.:
This applies to other classes that have
duration
fields as well.The text was updated successfully, but these errors were encountered: