[go: nahoru, domu]

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

misc(compare-runs): allow for multiple args to lighthouse #15066

Merged
merged 1 commit into from
May 11, 2023

Conversation

connorjclark
Copy link
Collaborator

Was using this script to collect some traces from a mobile device...

node core/scripts/compare-runs.js --name motopower --collect -n 3 --lh-flags='--port 9223 --legacy-navigation --screenEmulation.disabled --throttling.cpuSlowdownMultiplier=1 --throttling-method=provided' --urls https://www.example.com https://www.nyt.com

and found that the lhArgs parameter is broken.

Also updated some stuff in readme about testing on mobile. It overlooked disabling network throttling, for some reason.

@connorjclark connorjclark requested a review from a team as a code owner May 11, 2023 21:39
@connorjclark connorjclark requested review from adamraine and removed request for a team May 11, 2023 21:39
name: argv.name,
lhFlags: argv.lhFlags.split(' '),
urls: argv.urls,
n: argv.n,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is just nice to have for later reference, when looking inside timings-data/.

@devtools-bot devtools-bot merged commit 80cd566 into main May 11, 2023
31 checks passed
@devtools-bot devtools-bot deleted the update-compare-script branch May 11, 2023 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants