Skip to content

Commit

Permalink
Fix duration rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Aug 18, 2019
1 parent c83075b commit 44c721b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/info/options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// We only keep options that are relevant for reporting
export const getOpts = function({ duration, run: runOpts }) {
const durationA = Math.round(duration / NANOSECS_TO_SECS)
const durationA = duration / NANOSECS_TO_SECS
const runOptsA = getRunOpts(runOpts)
return { duration: durationA, ...runOptsA }
}
Expand Down

0 comments on commit 44c721b

Please sign in to comment.