Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment Compare values could adjust for TTFB variance, at least optionally #2329

Closed
scottjehl opened this issue Sep 7, 2022 · 0 comments · Fixed by #2331
Closed

Experiment Compare values could adjust for TTFB variance, at least optionally #2329

scottjehl opened this issue Sep 7, 2022 · 0 comments · Fixed by #2331
Labels
Type: Bug An issue or pull request relating to a bug in WebPageTest

Comments

@scottjehl
Copy link
Contributor

Often, there's network variance between experiment and control runs that shows up in TTFB. Being additive, the TTFB diff can end up rippling into the diffs of later metrics that can have much smaller diffs if it weren't for the TTFB variance.

One approach to fixing this will be the longstanding idea of normalizing TTFB between compare runs, which we should still aim to offer.

But another, and perhaps additional thing we can do in Experiment results would be to detect TTFB variance and offer a way to view the experiment results with TTFB removed from chronological metrics before comparing them. That'd mean we could more reliably see diffs in the metric changes that we offer on that page.

here's an experiment with ttfb variance: https://www.webpagetest.org/video/compare.php?tests=220906_AiDcYK_EPH,220906_AiDcX7_EPG

and its results:
image

Here's those same results adjusted for TTFB:
image

Offering this via query string and a link, non-default, would be a nice way to start. A message that says:

We detected some variance in response time between your experiment and control runs, which might make other metric changes seem more significant than they really are. View this comparison with TTFB differences removed

@scottjehl scottjehl added the Type: Bug An issue or pull request relating to a bug in WebPageTest label Sep 7, 2022
scottjehl added a commit that referenced this issue Sep 7, 2022
…r than 100ms, offers a link to view the comparison with TTFB ignored from all additive metrics. fixes #2329
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug An issue or pull request relating to a bug in WebPageTest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant