Skip to content

Instantly share code, notes, and snippets.

@jakub-g
Last active March 24, 2021 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakub-g/b2311e5534e39ba61550309467185c95 to your computer and use it in GitHub Desktop.
Save jakub-g/b2311e5534e39ba61550309467185c95 to your computer and use it in GitHub Desktop.
WebPageTest wishlist 2021

0. Filmstrip page

  • There's no link back to waterfall page
  • Custom end time URL param is not validated. I can put -e:99 and will have 99s worth of filmstrip images (while the test was shorter than that)

1. Re-run the test equivalent which allows changing config

Sometimes I have very elaborate test config which I want to reuse, but slightly change one thing (e.g. add one param to URL). I can easily re-run the test with exact same config, but it's not easy to slightly change config and re-run. You need to re-create the config from scratch by checking multiple checkboxes, and hoping you come up with same exact set of params as before

2. Possibility to redefine the "median run" definition

It's apparently possible to override medianMetric param to tell WPT how to choose the median run. It would be nice to use a custom metric for that (say the first perf entry marked with performance.mark('WptEndMetric')). Maybe it's already possible?

https://www.webpagetest.org/forums/showthread.php?tid=11918&pid=19763

3. Command line input is lost when moving back in the browser history

image

It has autocomplete=off as a security measure (to prevent remembering sensitive data) which is probably the reason. Perhaps a browser extension could fix that?

Waterfall

  • arrow_left / arrow_right should scroll the filmstrip (regardless where the focus is on the page)
  • URL column should be ~2x wider
    • Maybe even split in two: domain and path?
  • In general, WPT container should be wider. #page has width: 980px, which is very 2005 :)
    • I implicitly assume people analyzing waterfalls tend to have laaaarge screens
    • Although some may have them in vertical

Custom waterfall

  • Rows are not clickable on custom waterfall :(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment