Skip to content
Snippets Groups Projects

nofib-compare: Fix reporting of compiler mutator time

Merged Ben Gamari requested to merge bgamari-master-patch-04646 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -260,7 +260,7 @@ main = do
@@ -260,7 +260,7 @@ main = do
-- compile-time metrics
-- compile-time metrics
tabulate "compiler allocations" $ objectCompilerRtsStats <* "bytes allocated"
tabulate "compiler allocations" $ objectCompilerRtsStats <* "bytes allocated"
tabulate "compiler mutator time" $ objectCompilerRtsStats <* "mutator_cpu_seconds"
tabulate "compiler mutator time" $ objectCompilerRtsStats <* ("mutator_cpu_seconds" <|> "mut_cpu_seconds")
tabulate "compiler GC (cpu) time" $ objectCompilerRtsStats <* "GC_cpu_seconds"
tabulate "compiler GC (cpu) time" $ objectCompilerRtsStats <* "GC_cpu_seconds"
tabulate "compiler GC (wall) time" $ objectCompilerRtsStats <* "GC_wall_seconds"
tabulate "compiler GC (wall) time" $ objectCompilerRtsStats <* "GC_wall_seconds"
tabulate "executable size" $ testName <* "executable size"
tabulate "executable size" $ testName <* "executable size"
Loading