Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you measure page load speed? [closed]

I am trying to quantify "site slowness". In the olden days you just made sure that your HTML was lightweight, images optimized and servers not overloaded. In high end sites built on top of modern content management systems there are a lot more variables: third party advertising, trackers and various other callouts, the performance of CDN (interestingly enough sometimes content delivery networks make things worse), javascript execution, css overload, as well as all kinds of server side issues like long queries.

The obvious answer is for every developer to clear the cache and continuously look at the "net" section of the Firebug plugin. What other ways to measure "site dragging ass" have you used?

like image 672
deadprogrammer Avatar asked Oct 27 '08 15:10

deadprogrammer


People also ask

How do you measure page load speed?

Measure Page Load Times Using Google Pagespeed Insights To use this tool, you'll want to first pick a webpage on your site you want to study. You then go to the PageSpeed Insights section and type in the URL of the webpage. The tool will then works its magic and determine how fast the webpage loads.

How can I check my chrome load speed?

To check what's slowing down your page, open Chrome DevTools by right-clicking on the page and selecting Inspect. Then select the Performance tab and click the Start profiling and reload page button.

What is page loading speed?

Page Speed is the amount of time that it takes for a webpage to load. A page's loading speed is determined by several different factors, including a site's server, page filesize, and image compression.

How does Google Analytics measure page load time?

Page Load Time consists of two components: 1) network and server time, and 2) browser time. The Technical section of the Explorer tab provides details about the network and server metrics. The remaining time is the browser overhead for parsing and executing the JavaScript and rendering the page.


2 Answers

Yslow is a tool (browser extension) that should help you.

YSlow analyzes web pages and why they're slow based on Yahoo!'s rules for high performance web sites.

like image 69
johnstok Avatar answered Sep 29 '22 01:09

johnstok


Firebug, the must have for web developers Firefox extension, can measure the loading time of different elements on your webpage. At least you can rule out CSS, JavaScript, and other elements taking too much time to load.

If you do need to shrink JavaScript and CSS loading times, there are various JavaScript and CSS compressors out there on the web that simply take out unnecessary text out of them like newline characters and comments. Of course, keep an ordinary version on the side for development sake.

If you use PNGs, I recently came across a PNG optimizer that can shrink PNG sizes called OptiPNG.

like image 26
Ido Schacham Avatar answered Sep 29 '22 01:09

Ido Schacham