Skip to content
Snippets Groups Projects
Commit 2a714952 authored by Andreas Klebinger's avatar Andreas Klebinger
Browse files

Report code size for nofib-compare.

parent 2cee9286
Branches report-size
No related tags found
1 merge request!66Report code size for nofib-compare.
Pipeline #57147 passed
......@@ -264,6 +264,7 @@ main = do
tabulate "compiler GC (cpu) time" $ objectCompilerRtsStats <* "GC_cpu_seconds"
tabulate "compiler GC (wall) time" $ objectCompilerRtsStats <* "GC_wall_seconds"
tabulate "executable size" $ testName <* "executable size"
tabulate "code size (.text)" $ objectCompilerSize
-- run-time metrics
tabulate "bytes allocated" $ runRtsStats <* "bytes allocated"
tabulate "mutator time" $ runRtsStats <* ("mutator_cpu_seconds" <|> "mut_cpu_seconds")
......@@ -296,6 +297,9 @@ testName = wildcard
objectCompilerRtsStats :: LabelMatcher (TestName, ModuleName)
objectCompilerRtsStats = (,) <$> testName <* "objects" <*> wildcard <* "rts stats"
objectCompilerSize :: LabelMatcher (TestName,ModuleName)
objectCompilerSize = (,) <$> testName <* "objects" <*> wildcard <* "size"
runRtsStats :: LabelMatcher TestName
runRtsStats = testName <* "run" <* "rts stats"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment