YSlow and / or PageSpeed ​​Scripts

As I begin to work on the engineering interface, I would like to correctly determine the acceleration achieved.

I would like to be able to use an average of, say, 50 seconds of page load, measured by YSlow or Google Page Speed. Obviously, I don't want to hit reboot 50 times and write the value.

Is there an FF plugin for this, or will I need to write a Firebug extension? Or maybe there is a non-FF command line tool that does what I plan on doing?

0
source share
3 answers

I recently talked about this at the Google Test Automation conference in Zurich.

Slides for this here

And I made a blog entry on my site about him, and it can be found here

We were able to use YSlow Beacon and Selenium to automate the entire process.

I hope this helps!

+3
source

Also check out GTmetrix , which can perform PageSpeed ​​and YSlow analysis for various reasons, and has a free API that you can use to automate this.

+1
source

Not sure if you use Grunt in your development workflow, but there is a great package available that makes scripting easy - check:

https://www.npmjs.org/package/grunt-pagespeed

Once you run it, it will output the results as follows:

Grunt pagespeed

Or, if you prefer to write on your own, the Google PageSpeed ​​API is also pretty easy to use. Check out this blog post for more information:

http://deanhume.com/home/blogpost/the-google-pagespeed-api-and-mvc-4/86

+1
source

Source: https://habr.com/ru/post/1346412/


All Articles