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

tests(smokehouse): adjust byte efficiency CPU multiplier #4809

Merged
merged 2 commits into from
Mar 19, 2018

Conversation

patrickhulce
Copy link
Collaborator

@patrickhulce patrickhulce commented Mar 19, 2018

fixes #4808

@patrickhulce patrickhulce changed the title [WIP] tests(smokehouse): adjust byte efficiency CPU multiplier tests(smokehouse): adjust byte efficiency CPU multiplier Mar 19, 2018
Copy link
Member

@paulirish paulirish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this supposed to be for smokehouse only? wouldn't these change things across the board?

@@ -136,6 +136,8 @@ class UnusedBytes extends Audit {
*/
static createAuditResult(result, graph) {
const simulatorOptions = PredictivePerf.computeRTTAndServerResponseTime(graph);
// TODO: calibrate multipliers, see https://github.com/GoogleChrome/lighthouse/issues/820
Object.assign(simulatorOptions, {cpuTaskMultiplier: 1, layoutTaskMultiplier: 1});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why reset these multipliers to 1 rather than their defaults?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well in our pre-lantern case the throttling is usually being applied by devtools, so pumping it through another 4x multiplier is sorta unfair. This shouldn't really matter once #4766 and follow-ups land

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aye true. k.

@paulirish paulirish merged commit 941b014 into master Mar 19, 2018
@paulirish paulirish deleted the appveyor_lantern_fix branch March 19, 2018 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Byte-efficiency smoketests fail on appveyor
3 participants