Replies: 1 comment
-
I'm not sure exactly what you are asking about. Similar mobile/desktop scores are perfectly normal for web pages. The audit suggesting you minimize code doesn't guarantee any performance improvement, it's just suggesting a best practice that can affect performance.
Please read our docs on variability: https://github.com/GoogleChrome/lighthouse/blob/main/docs/variability.md |
Beta Was this translation helpful? Give feedback.
-
I will forgive you in advance and forgive me if I made a mistake with the choice of topic category and for my English... I recently became acquainted with this wonderful technology and dream of using it to the maximum, but I had doubts that with my unsuccessful approach to the code and its implementation I could have ruined something .
Why I think so: 1. the results of performance tests between desktop and mobile are practically the same, minimizing the code and optimizing it has virtually no effect on performance in my case. Therefore, I’m not sure whether the tests pass in 2 modes in my implementation 2 2. The results of testing directly in the browser using Lighthouse differ from those that I received as an output in the document...
and here’s a question, if it’s not difficult for you, tell me what I did wrong: improve the analysis.. thanks for any help)
my improvisation fucntion
`gulp.task('lighthouseR', async () => {
var array = fs.readFileSync("URLs.csv").toString().split("\n");
const chrome = await chromeLauncher.launch({ chromeFlags: ["--headless"] })
`
part of my result
`URL : http://127.0.0.1:5500/src/pages/about.html
Mobile Performance : 99
Mobile Accessibility : 73
Mobile Best Practices : 92
Mobile SEO : 92
Desktop Performance : 99
Desktop Accessibility : 73
Desktop Best Practices : 92
Desktop SEO : 92
URL : http://127.0.0.1:5500/src/pages/contact.html
Mobile Performance : 100
Mobile Accessibility : 77
Mobile Best Practices : 92
Mobile SEO : 92
Desktop Performance : 100
Desktop Accessibility : 77
Desktop Best Practices : 92
Desktop SEO : 92
URL : http://127.0.0.1:5500/src/pages/publication-entry.html
Mobile Performance : 99
Mobile Accessibility : 76
Mobile Best Practices : 92
Mobile SEO : 92
Desktop Performance : 99
Desktop Accessibility : 76
Desktop Best Practices : 92
Desktop SEO : 92
URL : http://127.0.0.1:5500/build/pages/about.html
Mobile Performance : 100
Mobile Accessibility : 73
Mobile Best Practices : 92
Mobile SEO : 92
Desktop Performance : 100
Desktop Accessibility : 73
Desktop Best Practices : 92
Desktop SEO : 92
URL : http://127.0.0.1:5500/build/pages/contact.html
Mobile Performance : 100
Mobile Accessibility : 77
Mobile Best Practices : 92
Mobile SEO : 92
Desktop Performance : 100
Desktop Accessibility : 77
Desktop Best Practices : 92
Desktop SEO : 92
URL : http://127.0.0.1:5500/build/pages/publication-entry.html
Mobile Performance : 99
Mobile Accessibility : 76
Mobile Best Practices : 92
Mobile SEO : 92
Desktop Performance : 99
Desktop Accessibility : 76
Desktop Best Practices : 92
Desktop SEO : 92`
Beta Was this translation helpful? Give feedback.
All reactions