unknownbrackets / maxcso

Fast cso compressor
ISC License
390 stars 23 forks source link

Average multiple readings to calculate speed #51

Closed TellowKrinkle closed 3 years ago

TellowKrinkle commented 3 years ago

Averages readings over 1 second. This prevents the speed value from bouncing all over the place, allowing it to actually be read by humans Also properly accounts for times when the callback is being called much less than once per 50ms, e.g. when compressing with zopfli trials on large blocks