<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: A free utility to measure web site load times?</title>
	<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times/</link>
	<description>Comments on Ask MetaFilter post A free utility to measure web site load times?</description>
	<pubDate>Mon, 16 Oct 2006 13:23:34 -0800</pubDate>
	<lastBuildDate>Mon, 16 Oct 2006 13:23:34 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: A free utility to measure web site load times?</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times</link>	
		<description>&lt;b&gt;I need a tool (web- or Mac-based) that will help me measure how long a web page will take to load.&lt;/b&gt; I&apos;m familiar with tools that measure page weight based on the HTML in a document, but I need something that will measure load times including dynamic factors. Does such a beast exist? &lt;br /&gt;&lt;br /&gt; I have a Wordpress-based site. Wordpress creates each page dynamically from various &quot;modules&quot; (such as a header, a footer, a sidebar, etc.) These modules also include connections to external content, such as ads, traffic meters, etc. Every little piece adds to the load time. My goal is to reduce the load time, and to that end, I want to measure the most egregious time sinks. (If my traffic meter adds two seconds to the load time, it&apos;s probably not worth it, for example.)</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.48714</guid>
		<pubDate>Mon, 16 Oct 2006 13:20:47 -0800</pubDate>
		<dc:creator>jdroth</dc:creator>
		
			<category>webdesign</category>
		
			<category>tools</category>
		
			<category>html</category>
		
			<category>loadtimes</category>
		
			<category>wordpress</category>
		
	</item> <item>
		<title>By: jdroth</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#740974</link>	
		<description>Now that I&apos;ve actually hit &quot;post&quot;, it occurs to me that &lt;b&gt;a key component of such a tool would be the ability to tell me which individual pieces take the longest load.&lt;/b&gt; It&apos;s nice to know what the overall load time is, but it&apos;s much more useful to know, say, that connecting to Google Analytics takes 2.3s or that the connection to Sitemeter takes 0.3s. (These numbers are hypotheticals.)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-740974</guid>
		<pubDate>Mon, 16 Oct 2006 13:23:34 -0800</pubDate>
		<dc:creator>jdroth</dc:creator>
	</item><item>
		<title>By: Blazecock Pileon</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741016</link>	
		<description>Within Terminal.app:&lt;br&gt;
&lt;br&gt;
&lt;code&gt;curl -s -w &quot;%{time_total}\n&quot; -o output.txt http://www.google.com/&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
You&apos;ll want to sample this measurement, say, 100 times, to estimate the mean download time. Replace the URL with a particular subsite.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741016</guid>
		<pubDate>Mon, 16 Oct 2006 14:01:40 -0800</pubDate>
		<dc:creator>Blazecock Pileon</dc:creator>
	</item><item>
		<title>By: xil</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741033</link>	
		<description>That only downloads one URL though (the main HTML), not any of the other JS or CSS or images or anything else that might be referenced by the main HTML file.  So it&apos;s not nearly what jdroth is asking for.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741033</guid>
		<pubDate>Mon, 16 Oct 2006 14:22:34 -0800</pubDate>
		<dc:creator>xil</dc:creator>
	</item><item>
		<title>By: mathowie</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741037</link>	
		<description>This seems like something PHP should offer. With ColdFusion, I can do stuff like measure processing time and get pretty complete debugging mode reports of how long each db connection took and how long each and every template took to load.&lt;br&gt;
&lt;br&gt;
I would google around for &quot;php debugging info&quot; and see what you find.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741037</guid>
		<pubDate>Mon, 16 Oct 2006 14:28:13 -0800</pubDate>
		<dc:creator>mathowie</dc:creator>
	</item><item>
		<title>By: smackfu</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741038</link>	
		<description>&lt;a href=&quot;http://developer.apple.com/internet/safari/faq.html#anchor14&quot;&gt;The Safari debug menu&lt;/a&gt; has a &quot;page load test&quot; that might be useful.  (Not at a Mac so can&apos;t try it myself.)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741038</guid>
		<pubDate>Mon, 16 Oct 2006 14:28:30 -0800</pubDate>
		<dc:creator>smackfu</dc:creator>
	</item><item>
		<title>By: Blazecock Pileon</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741040</link>	
		<description>&lt;i&gt; That only downloads one URL though (the main HTML), not any of the other JS or CSS or images or anything else&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
Replace the &lt;code&gt;URL&lt;/code&gt; with the full path of &lt;code&gt;URL/script.js&lt;/code&gt; etc.&lt;br&gt;
&lt;br&gt;
You could use Perl or any other scripting library to parse out &lt;code&gt;img&lt;/code&gt; and Javascript and other components of a page. But &lt;code&gt;curl&lt;/code&gt; is what you&apos;d use to measure time to grab that specific static item.&lt;br&gt;
&lt;br&gt;
I suppose you could have &lt;code&gt;.js&lt;/code&gt; etc. files generated dynamically but I don&apos;t see that happening too often.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741040</guid>
		<pubDate>Mon, 16 Oct 2006 14:29:26 -0800</pubDate>
		<dc:creator>Blazecock Pileon</dc:creator>
	</item><item>
		<title>By: Blazecock Pileon</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741046</link>	
		<description>&lt;i&gt;This seems like something PHP should offer.&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
I use a variant of &lt;a href=&quot;http://www.hawkee.com/snippet.php?snippet_id=1746&quot;&gt;this PHP Timer class&lt;/a&gt; to measure MySQL request speeds. One thought might be to use the &lt;a href=&quot;http://pear.php.net/package/HTTP_Request/docs/1.3.0/apidoc/HTTP_Request/HTTP_Request.html#methodsendRequest&quot;&gt;PEAR::HTTP_Request&lt;/a&gt; &lt;code&gt;sendRequest&lt;/code&gt; method within a Timer block. &lt;br&gt;
&lt;br&gt;
You&apos;d still need to specify the target, although it might be easier to programmatically scrape timing targets from a root URL, within a larger PHP script.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741046</guid>
		<pubDate>Mon, 16 Oct 2006 14:36:54 -0800</pubDate>
		<dc:creator>Blazecock Pileon</dc:creator>
	</item><item>
		<title>By: jellicle</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741048</link>	
		<description>There are several factors here:&lt;br&gt;
&lt;br&gt;
--time it takes to assemble and output the page (called &quot;execution time&quot;) - usually you measure this internally&lt;br&gt;
--time it takes to download the page once you&apos;ve handed it to the user - usually you calculate the page weight and divide by the download speed of the user&lt;br&gt;
--time it takes to execute dynamic things like javascript or Flash - depends on the user&apos;s PC, can&apos;t really be measured except in a very general sense&lt;br&gt;
&lt;br&gt;
If you want to measure execution time in PHP, you can do &lt;a href=&quot;http://www.chauy.com/2005/11/creating-a-php-script-to-measure-php-execution-time/&quot;&gt;something like this&lt;/a&gt;.  I would expect that there&apos;s a pre-existing Wordpress plugin to measure the PHP execution time of pages, so you should probably just look for that first.&lt;br&gt;
&lt;br&gt;
If you include content from another site, that content has to be generated, downloaded, and rendered.  You can use curl or whatever to measure each external thing that you&apos;re including in your page.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741048</guid>
		<pubDate>Mon, 16 Oct 2006 14:42:43 -0800</pubDate>
		<dc:creator>jellicle</dc:creator>
	</item><item>
		<title>By: singingfish</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741101</link>	
		<description>for a more powerful tool, apache benchmark, preinstalled on your mac&lt;br&gt;
&lt;br&gt;
from terminal:&lt;br&gt;
&lt;br&gt;
man ab&lt;br&gt;
&lt;br&gt;
simple example:&lt;br&gt;
&lt;br&gt;
ab -n 50 -t 50 -c 3 http://localhost/&lt;br&gt;
&lt;br&gt;
for some reason it doesnt like not having a trailing slash there by the way.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741101</guid>
		<pubDate>Mon, 16 Oct 2006 15:33:07 -0800</pubDate>
		<dc:creator>singingfish</dc:creator>
	</item><item>
		<title>By: kirkaracha</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741141</link>	
		<description>&lt;a href=&quot;http://www.websiteoptimization.com/services/analyze/&quot;&gt;This free Web Page Analyzer&lt;/a&gt; can &quot;calculate page size, composition, and download time. The script calculates the size of individual elements and sums up each type of web page component.&quot; It lists the sizes of all of the individual objects on the page.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741141</guid>
		<pubDate>Mon, 16 Oct 2006 16:25:04 -0800</pubDate>
		<dc:creator>kirkaracha</dc:creator>
	</item><item>
		<title>By: Mr. Gunn</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741155</link>	
		<description>Look at some of the wordpress plugins.  I saw one the other day that added a little snippet to the bottom of the page that told you how long it took for things to be generated.  I can&apos;t remember which one it was, though, but I think it may have been one of the comment spam protectors like spam karma or perhaps an extended options management module, but anyways, the point is that wordpress has some stuff written for it to do what you want included as part of some other plugins.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741155</guid>
		<pubDate>Mon, 16 Oct 2006 16:34:49 -0800</pubDate>
		<dc:creator>Mr. Gunn</dc:creator>
	</item><item>
		<title>By: zachlipton</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741253</link>	
		<description>&lt;a href=&quot;http://jakarta.apache.org/jmeter/&quot;&gt;Jakarta JMeter&lt;/a&gt; is one of the standard tools for this. It&apos;s somewhat complex, at least more complex then a simple PHP script as mentioned above, but the documentation is quite good and it&apos;s very full featured. You can easily setup multiple threads and simulate multiple users hitting your site at once. JMeter is also really useful for tuning your web server configuration, as you can see visually (on its graphs) how performance degrades as more users hit the site.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741253</guid>
		<pubDate>Mon, 16 Oct 2006 18:24:00 -0800</pubDate>
		<dc:creator>zachlipton</dc:creator>
	</item><item>
		<title>By: jdroth</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741264</link>	
		<description>These are all great suggestions, and I will try as many as possible. Thanks. For now I&apos;m marking the Web Page Analyzer as best answer because it gave me the info I needed in a quick and dirty fashion. Thanks, kirkaracha.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741264</guid>
		<pubDate>Mon, 16 Oct 2006 18:36:54 -0800</pubDate>
		<dc:creator>jdroth</dc:creator>
	</item><item>
		<title>By: kaefer</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#741433</link>	
		<description>&lt;a href=&quot;http://fasterfox.mozdev.org/&quot;&gt;FasterFox&lt;/a&gt; is an extension that speeds up Firefox by optimizing a few settings, and in addition adds a little meter in the bottom right corner of your browser that tells you how long that page took to load.  &lt;br&gt;
&lt;br&gt;
Doesn&apos;t give you the breakdown of individual page elements however.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-741433</guid>
		<pubDate>Mon, 16 Oct 2006 22:07:55 -0800</pubDate>
		<dc:creator>kaefer</dc:creator>
	</item><item>
		<title>By: smackfu</title>
		<link>http://ask.metafilter.com/48714/A-free-utility-to-measure-web-site-load-times#744617</link>	
		<description>&lt;a href=&quot;http://simon.incutio.com/archive/2006/10/17/graph&quot;&gt;This link&lt;/a&gt; made me think of this, and it has a pretty graph too.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.48714-744617</guid>
		<pubDate>Thu, 19 Oct 2006 15:28:47 -0800</pubDate>
		<dc:creator>smackfu</dc:creator>
	</item>
	</channel>
</rss>
