You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Video bytes and requests not displayed for a single selected month #619
Median video bytes transferred for a single month is displayed as "0".
- The median video bytes transferred for **multiple months** is non-zero (e.g. 3490.6 KB median desktop and 3366.4 KB median mobile from January 2022 - June 2022; https://httparchive.org/reports/page-weight?start=2022_01_01&end=latest&view=list#bytesVideo).
This looks like an inconsistency in the way the bytesVideo timeseries and histograms are queried. In the timeseries query, it only looks at pages having bytesVideo > 0. The histogram query should similarly filter out the 90%+ pages with 0 bytes of video.
Many other histogram charts (e.g. reqCSS or reqJS) have a bucket that shows 0 bytes / requests.
It just happens that for video resources (and bytesOther) it represents 90%+.
And due to this median video size is actually 0KB.
Is it the best insight to offer - maybe not.
The filter in the timeseries leads to permanently higher medians - in my opinion it should be removed to represent complete dataset aligned with histograms.
Only for other and video we can keep it ON, but leave a note in the description.
Activity
screenspan commentedon Jul 7, 2022
Please let me know if this is really a bug or just a misinterpretation of the data on my part!
rviscomi commentedon Jul 7, 2022
Hi @screenspan thanks for filing this issue.
This looks like an inconsistency in the way the
bytesVideotimeseries and histograms are queried. In the timeseries query, it only looks at pages havingbytesVideo > 0. The histogram query should similarly filter out the 90%+ pages with 0 bytes of video.Same issue with
reqVideo.max-ostapenko commentedon Nov 16, 2024
Many other histogram charts (e.g.
reqCSSorreqJS) have a bucket that shows 0 bytes / requests.It just happens that for video resources (and
bytesOther) it represents 90%+.And due to this median video size is actually 0KB.
Is it the best insight to offer - maybe not.
The filter in the timeseries leads to permanently higher medians - in my opinion it should be removed to represent complete dataset aligned with histograms.
Only for
otherandvideowe can keep it ON, but leave a note in the description.tunetheweb commentedon Aug 18, 2025
Yeah IMHO the current stats in timeseries are confusing. But agree that showing the actual median would be next to useless.
See, for example this post, which also is confusing in this regard: https://www.speedcurve.com/blog/page-bloat-2025/ (though they do clarify this with a note)
We should add a note to the stats on the timeseries page (and maybe to the histogram pages too).