catchpoint / WebPageTest.agent

Cross-platform WebPageTest agent
Other
210 stars 138 forks source link

Improve stability of benchmark-based CPU throttle scaling #644

Closed pmeenan closed 3 months ago

pmeenan commented 8 months ago

This puts a limit on the maximum scale that will be applied to CPU throttling (defaults to 2) as well as records the benchmark results for the last 9 benchmarks (9 hours of agent running usually) and picks the median result so that benchmark outliers don't skew the CPU throttling.

claud-io commented 5 months ago

@pmeenan any reason for which this is closed? was not working as expected?

pmeenan commented 5 months ago

It's working as expected and we have deployed it in the HTTP Archive. I've had a few PR's that weren't getting any traction so I assumed it was no longer being actively maintained. If that's not the case, I'm happy to restore it and reopen the PR.