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

Very strange result: mobile better than desktop, inversed comparing online Google Insight #48

Closed
Yivan opened this issue Feb 19, 2020 · 1 comment

Comments

@Yivan
Copy link

Yivan commented Feb 19, 2020

Hello,

I got very strange result.
The performance result for mobile are better than desktop (i never saw this), and they seems inverted comparing with online Google Insight.

Here is the config for mobile:

--outputFolder "$REPORT_DIRECTORY" --config ./sitespeed-io.json --budget.configPath ./sitespeed-io-budget.json --mobile \
        --browsertime.connectivity.engine tsproxy -c custom \
        --browsertime.connectivity.alias mobile \
        --browsertime.connectivity.down 5000 \
        --browsertime.connectivity.up 500 \
        --browsertime.connectivity.rtt 100 \
        --lighthouse.settings.emulatedFormFactor mobile \

And for desktop:

--outputFolder "$REPORT_DIRECTORY" --config ./sitespeed-io.json --budget.configPath ./sitespeed-io-budget.json \
        --browsertime.connectivity.engine tsproxy -c custom \
        --browsertime.connectivity.alias desktop \
        --browsertime.connectivity.down 100000 \
        --browsertime.connectivity.up 50000 \
        --browsertime.connectivity.rtt 10 \
        --lighthouse.settings.emulatedFormFactor desktop \

The json config:

{
  "browsertime": {
    "iterations": 1,
    "browser": "chrome",
    "viewPort": "1366x768"
  },
  "crawler": {
    "depth": 1,
    "maxPages": 1,
    "exclude": "",
    "include": ".*"
  }
}

The desktop result:

image

The mobile result:

image

Online pagespeed insight desktop:

image

Online pagespeed insight mobile:

image

I ran lighthouse localy (the package from google, without sitespeed.io), and the order is ok and like the online pagespeed insight.
So it really seems, like it is inverted on the plugin in sitespeed.io !?
Is it a bug ?
I didn't inverted, because formfactor on snapshot done by lighthouse is well on format desktop for desktop profile/connectivity and well on format mobile for mobile profile/connectivity.

Thanks!

@Yivan
Copy link
Author

Yivan commented Feb 19, 2020

Got it! There is no bug in the lighthouse plugin for sitespeed.io.

With the lightouse stand-alone I was using for desktop the profile lr-deskop. And online Google Page Insight seems too.

So the solution would be to allow using the lr-desktop and lr-mobile with this lighthouse plugin.
I have opened an issue asking for this improvement: #47

It will solve this issue, and provide better result in coherence with online Google Pagespeed Insight.

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

No branches or pull requests

2 participants