{"id":652,"date":"2007-10-24T16:10:34","date_gmt":"2007-10-24T21:10:34","guid":{"rendered":"http:\/\/www.ashleyit.com\/blogs\/brentashley\/?p=652"},"modified":"2008-04-16T13:47:44","modified_gmt":"2008-04-16T18:47:44","slug":"ajax-experience-ryan-breen-ajax-performance-analysis","status":"publish","type":"post","link":"https:\/\/ashleyit.com\/blogs\/brentashley\/2007\/10\/24\/ajax-experience-ryan-breen-ajax-performance-analysis\/","title":{"rendered":"Ajax Experience: Ryan Breen &#8211; Ajax Performance Analysis"},"content":{"rendered":"<p>See Ryan&#8217;s presentation slides in<a href=\"http:\/\/ajaxexperience.techtarget.com\/images\/Presentations\/Breen_Ryan_Performance_Analysis.pdf\"> PDF form<\/a>.<\/p>\n<p>Ryan Breen is VP Technology at <a href=\"http:\/\/gomez.com\">Gomez<\/a>.  He blogs at his own site at <a href=\"http:\/\/ajaxperformance.com\">ajaxperformance.com<\/a><\/p>\n<p>Ryan divides performance monitoring tools into two categories:<\/p>\n<p><strong>Network Visualization<\/strong><\/p>\n<ul>\n<li>Firebug<\/li>\n<li>Webkit Web Inspector<\/li>\n<li>IBM Page Detailer<\/li>\n<\/ul>\n<p><strong>Client Side Profiling<\/strong><\/p>\n<ul>\n<li>JSLex<\/li>\n<li>Firebug and Firebug lite<\/li>\n<li>Dojo.Profile<\/li>\n<\/ul>\n<p>&#8220;The largest opportunity for optimization exists at the network layer&#8221;<\/p>\n<p>Latency is the target for best optimization ROI.  Techniques include:<\/p>\n<ul>\n<li>fewer requests\n<\/li>\n<li>pack more info into each request\n<\/li>\n<li>reuse connections\n<\/li>\n<li>increase connection parallelism\n<\/li>\n<li>minimize bandwidth use\n<\/li>\n<li>respect caching but don&#8217;t rely on it\n<\/li>\n<\/ul>\n<p><strong>Fewer Requests<\/strong><br \/>\nA great way to make fewer requests is with image concatenation, whereby a bunch of images are bundled into a single larger image, and lay out the sub-images via css viewports into the large image.<\/p>\n<p>Another way is to bundle multiple Javascript and CSS files together.<\/p>\n<p><strong>Connection Persistence<\/strong><br \/>\nusually broken by firewall configs &#8211; test from outside your environment.<\/p>\n<p><strong>Connection Parallelism<\/strong><br \/>\nHTTP spec allows two concurrent browser connections to each server.<br \/>\nUsing multiple hostnames per server, you can get two connections per hostname and increase the number of parallel connections allowed.<\/p>\n<p><strong>Bandwidth<br \/>\n<\/strong><br \/>\nHTTP Compression (gzip, deflate)<br \/>\nJS Obfuscation<\/p>\n<p><strong>Don&#8217;t overlook the simple things<\/strong><br \/>\nwhen linking to a directory, remember the trailing slash so the server doesn&#8217;t have to redirect the browser<\/p>\n<p>There&#8217;s a bit more as you will see when you look at the presentation PDF, and he gives some demos of code profiling in action &#8211; I imagine you can tell already that Ryan is extremely knowledgeable about and experienced with browser application performance analysis.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>See Ryan&#8217;s presentation slides in PDF form. Ryan Breen is VP Technology at Gomez. He blogs at his own site at ajaxperformance.com Ryan divides performance monitoring tools into two categories: Network Visualization Firebug Webkit Web Inspector IBM Page Detailer Client Side Profiling JSLex Firebug and Firebug lite Dojo.Profile &#8220;The largest opportunity for optimization exists at [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-652","post","type-post","status-publish","format-standard","hentry","category-blather"],"_links":{"self":[{"href":"https:\/\/ashleyit.com\/blogs\/brentashley\/wp-json\/wp\/v2\/posts\/652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ashleyit.com\/blogs\/brentashley\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ashleyit.com\/blogs\/brentashley\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ashleyit.com\/blogs\/brentashley\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ashleyit.com\/blogs\/brentashley\/wp-json\/wp\/v2\/comments?post=652"}],"version-history":[{"count":0,"href":"https:\/\/ashleyit.com\/blogs\/brentashley\/wp-json\/wp\/v2\/posts\/652\/revisions"}],"wp:attachment":[{"href":"https:\/\/ashleyit.com\/blogs\/brentashley\/wp-json\/wp\/v2\/media?parent=652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ashleyit.com\/blogs\/brentashley\/wp-json\/wp\/v2\/categories?post=652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ashleyit.com\/blogs\/brentashley\/wp-json\/wp\/v2\/tags?post=652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}