Not sure if I'm missing something, but shouldn't newDSpeed equal (bench.cSize * TIMELOOP_NANOSEC / dResult.nanoSecPerRun) not (srcSize * TIMELOOP_NANOSEC / dResult.nanoSecPerRun)?
In other words, shouldn't newDSpeed be calculated by the formula size of compressed payload / decompression time? If I'm not mistaken, we're currently calculating size of uncompressed payload / decompression time.
Not sure if I'm missing something, but shouldn't
newDSpeed
equal(bench.cSize * TIMELOOP_NANOSEC / dResult.nanoSecPerRun)
not(srcSize * TIMELOOP_NANOSEC / dResult.nanoSecPerRun)
?In other words, shouldn't
newDSpeed
be calculated by the formulasize of compressed payload / decompression time
? If I'm not mistaken, we're currently calculatingsize of uncompressed payload / decompression time
.Code snippet here.
(Also, sorry if this isn't the appropriate place to ask this type of question).