Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.05 KB

README.md

File metadata and controls

48 lines (36 loc) · 1.05 KB

Google Pagespeed insights

Library to calculate your page speed through Google pagespeed insights api

#Python 3.6 Python 3.6

  • Make sure you add all the page urls inside the config.json file
  • Applied performance tests for a specific page url as well multiple pages on a single run

Desktop Web

► single page url

python insights_python_3/single_page.py desktop <your_page>

► all page urls

python insights_python_3/all_pages.py desktop

Mobile Web

► single page url

python insights_python_3/single_page.py mobile <your_page>

► all page urls

python insights_python_3/all_pages.py mobile

#Python 2 Python 2

  • Make sure you add all the page urls inside the config.json file
  • Applied performance tests for multiple pages on a single run

Desktop Web

► all page urls

python insights_python_2/all_pages.py desktop

Mobile Web

► all page urls

python insights_python_2/all_pages.py mobile