Closed necolas closed 3 years ago
If you have a 1KB file, reduced by 0.5KB, it reports the change as 100% rather than 50%.
100%
50%
This line needs to use the original size as the divisor, so delta + size rather than size.
delta + size
size
If you have a 1KB file, reduced by 0.5KB, it reports the change as
100%
rather than50%
.This line needs to use the original size as the divisor, so
delta + size
rather thansize
.