Skip to content

Commit

Permalink
docs: add links to more info about throttling and variability (#9734)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattzeunert authored and paulirish committed Nov 6, 2019
1 parent 073a62b commit 1d7fd4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/throttling.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Within web performance testing, there are four typical styles of throttling:

Lighthouse, by default, uses simulated throttling as it provides both quick evaluation and minimized variance. However, some may want to experiment with more accurate throttling...

[Learn more about these throttling types and how they behave in in different scenarios](https://www.debugbear.com/blog/network-throttling-methods).

## How do I get packet-level throttling?

This Performance Calendar article, [Testing with Realistic Networking Conditions](https://calendar.perfplanet.com/2016/testing-with-realistic-networking-conditions/), has a good explanation of packet-level traffic shaping (which applies across TCP/UDP/ICMP) and recommendations.
Expand All @@ -36,7 +38,7 @@ go get github.com/tylertreat/comcast
# Ensure your $GOPATH/bin is in your $PATH (https://github.com/golang/go/wiki/GOPATH)

# To use the recommended throttling values:
comcast --latency=150 --target-bw=1600 --dry-run
comcast --latency=150 --target-bw=1638 --dry-run

# To disable throttling
# comcast --stop
Expand Down
1 change: 1 addition & 0 deletions docs/variability.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,4 @@ The median Lighthouse score of 5 runs is twice as stable as 1 run, and tools lik

- [Lighthouse Variability and Accuracy Analysis](https://docs.google.com/document/d/1BqtL-nG53rxWOI5RO0pItSRPowZVnYJ_gBEQCJ5EeUE/edit?usp=sharing)
- [Throttling documentation](./throttling.md)
- [Why is my Lighthouse score different from PageSpeed Insights?](https://www.debugbear.com/blog/why-is-my-lighthouse-score-different-from-pagespeed-insights)

0 comments on commit 1d7fd4d

Please sign in to comment.