sitespeedio / sitespeedio/sitespeed.io
"Total Transfer Size" and "Total Requests" are incorrect on pages summary and side by side report
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 624
- Avg merge
- 4h 8m
- Merged PRs (30d)
- 2
Description
Have you read the documentation?
- Yes, I've read the how to make a reproducable bug guide
- Yes, I've read the how to debug my script guide
URL
What are you trying to accomplish
I tried to receive median values for "Total Transfer Size" and "Total Requests" on "Pages" tab with summary values after several iterations.
Also, whould be better to see Median, Mean, stddev values on "Side by side" view.

What browser did you use?
Chrome
How to reproduce
1. Run `docker run --rm -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:26.1.0 https://www.sitespeed.io/`
2. Open received report on Pages tab
3. Also, open Side by side report
4. Check
Results:
- Value from 1st iteration is taken for "Total Transfer Size" and "Total Requests" in summary table (hard to see on regular sites)
- N/A or empty values are shown for most Median, Mean, stddev metrics from blocks "Page metrics" and "Party metrics"
In my case several URLs and scenarios with alias are tested using js file (if it's also important), but reproduced with one URL also
Relevant log output
Google Chrome 106.0.5249.119
Mozilla Firefox 106.0
Microsoft Edge 106.0.1370.52
[2023-03-21 11:33:36] INFO: Versions OS: linux 5.10.16.3-microsoft-standard-WSL2 nodejs: v16.16.0 sitespeed.io: 26.1.0 browsertime: 16.17.0 coach: 7.1.2
[2023-03-21 11:33:36] INFO: Running tests using Chrome - 3 iteration(s)
[2023-03-21 11:33:38] INFO: Testing url https://www.sitespeed.io/ iteration 1
[2023-03-21 11:33:46] INFO: Take after page complete check screenshot
[2023-03-21 11:33:47] INFO: Take cumulative layout shift screenshot
[2023-03-21 11:33:47] INFO: Take largest contentful paint screenshot
[2023-03-21 11:33:50] INFO: Get visual metrics from the video
[2023-03-21 11:33:52] INFO: https://www.sitespeed.io/ TTFB: 175ms DOMContentLoaded: 325ms firstPaint: 274ms FCP: 274ms LCP: 384ms Load: 360ms CLS:0.0004
[2023-03-21 11:33:52] INFO: VisualMetrics: FirstVisualChange: 336ms SpeedIndex: 348ms VisualComplete85: 404ms LastVisualChange: 404ms
[2023-03-21 11:33:53] INFO: Testing url https://www.sitespeed.io/ iteration 2
[2023-03-21 11:34:02] INFO: Take after page complete check screenshot
[2023-03-21 11:34:02] INFO: Take cumulative layout shift screenshot
[2023-03-21 11:34:02] INFO: Take largest contentful paint screenshot
[2023-03-21 11:34:05] INFO: Get visual metrics from the video
[2023-03-21 11:34:08] INFO: https://www.sitespeed.io/ TTFB: 147ms DOMContentLoaded: 331ms firstPaint: 247ms FCP: 247ms LCP: 351ms Load: 331ms CLS:0.0004
[2023-03-21 11:34:08] INFO: VisualMetrics: FirstVisualChange: 267ms SpeedIndex: 274ms VisualComplete85: 300ms LastVisualChange: 333ms
[2023-03-21 11:34:08] INFO: Testing url https://www.sitespeed.io/ iteration 3
[2023-03-21 11:34:17] INFO: Take after page complete check screenshot
[2023-03-21 11:34:17] INFO: Take cumulative layout shift screenshot
[2023-03-21 11:34:18] INFO: Take largest contentful paint screenshot
[2023-03-21 11:34:20] INFO: Get visual metrics from the video
[2023-03-21 11:34:23] INFO: https://www.sitespeed.io/ TTFB: 285ms DOMContentLoaded: 545ms firstPaint: 370ms FCP: 370ms LCP: 453ms Load: 630ms CLS:0.0004
[2023-03-21 11:34:23] INFO: VisualMetrics: FirstVisualChange: 387ms SpeedIndex: 392ms VisualComplete85: 419ms LastVisualChange: 548ms
[2023-03-21 11:34:23] INFO: https://www.sitespeed.io/ 11 requests, TTFB: 175ms (σ60.00ms 29.4%), firstPaint: 274ms (σ53.00ms 17.8%), firstVisualChange: 336ms (σ49.00ms 14.9%), FCP: 274ms (σ53.00ms 17.8%), DOMContentLoaded: 331ms (σ102.00ms 25.6%), LCP: 384ms (σ42.00ms 10.7%), CLS: 0.0004 (σ0.00 0%), TBT: 0ms (σ0.00ms 0%), Load: 360ms (σ135.00ms 30.6%), speedIndex: 348ms (σ49.00ms 14.4%), visualComplete85: 404ms (σ53.00ms 14.1%), lastVisualChange: 404ms (σ89.00ms 20.9%) (3 runs)
[2023-03-21 11:34:25] INFO: HTML stored in /sitespeed.io/sitespeed-result/www.sitespeed.io/2023-03-21-11-33-36
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the documented Docker command and inspect the Pages summary and Side by side report using the three-iteration result. Trace how Total Transfer Size, Total Requests, and Page metrics or Party metrics are rendered; done means summary values reflect all iterations and available median, mean, and standard deviation values are shown consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100