Add "allocated" and "bytesCopied" fields
"allocated" is much more stable for regression comparisons as it stays the same
whereas "time" varies based on various factors like cpu frequency, other things
running on the computer, context switches etc.
bytesCopied is a measure of long lived data being retained across GCs, which is
also a good measure of performance.
commitea79e0f9b7d5c96eeb5a45d2ba28b4e23c0802c8
authorHarendra Kumar <harendra@composewell.com>
dateTue 7 Jul 2020, 16:17 (6 years ago)
parent745265e
benchmark/Chart.hs+6−2
@@ -151,8 +151,12 @@ main = do
151151 { presentation = Groups PercentDiff
152152 , selectBenchmarks = selectBench
153153 , selectFields = filter
154− ( flip elem ["time" , "mean"
155− , "maxrss", "cputime"
154+ ( flip elem [ "time"
155+ , "mean"
156+ , "cputime"
157+ , "allocated"
158+ , "bytescopied"
159+ , "maxrss"
156160 ]
157161 . fmap toLower
158162 )