Performance


Cover performance, scalability, benchmarks, etc.


Thursday, August 21st, 2008

Page Test: Run AOL’s tool in the cloud, then sit back and wait

Category: Performance

Patrick Meenan has setup an IE7 instance in Virginia that we can poke to do an AOL Page Test. You give it a URL and some options such as the number of runs, whether to see the first and repeat views, and off it runs. When finished you get to see the results which give Read the rest…

Posted by Dion Almaer at 10:48 am
6 Comments

+++--
3.7 rating from 15 votes

Tuesday, August 12th, 2008

Squirreling out the Fish on the iPhone

Category: iPhone, JavaScript, Mobile, Performance

< View plain text > HTML <script type="text/javascript"> function recurse(n) {     if (n > 0) {         return recurse(n – 1);     }     return 0; }   try {     // recurse(43687);  // Highest that works for me in WebKit             Read the rest…

Posted by Dion Almaer at 6:11 am
1 Comment

++++-
4.1 rating from 24 votes

Wednesday, July 30th, 2008

Inline Script Wrapper and Dependencies

Category: jQuery, Performance

Stuart Colville has found an issue where he needed to output some JavaScript in the middle of a page, before a library that depended on it was available: The 6th Rule in Yahoo’s Performance Rules recommends placing script before the closing body tag to prevent blocking holding up the rendering of the page’s content. This Read the rest…

Posted by Dion Almaer at 5:42 am
4 Comments

++---
2.5 rating from 8 votes

Monday, July 28th, 2008

What’s the Fastest Way to Code a Loop in JavaScript?

Category: Browsers, JavaScript, Performance

Gregory Reimer, frontend engineer for sun.com, has written a barrage of tests to answer the question What’s the Fastest Way to Code a Loop in JavaScript? specifically for large data sets: I built a loop benchmarking test suite for different ways of coding loops in JavaScript. There are a few of these out there already, Read the rest…

Posted by Dion Almaer at 10:15 am
17 Comments

++++-
4.2 rating from 32 votes

Friday, July 25th, 2008

Firebug Lite 1.2; Now with improved lite-ness

Category: Debugging, Performance

Steve Souders gave a talk at OSCON yesterday where he demonstrated the new Firebug Lite 1.2. Today Firebug Lite 1.2 was released. This new version was built by Azer Koçulu, creator of pi.debugger. Azer joined the Firebug Working Group, morphed the GUI to look Firebug, and added it to the Firebug code base. Firebug Lite Read the rest…

Posted by Dion Almaer at 8:51 am
12 Comments

++++-
4.6 rating from 65 votes

Thursday, July 24th, 2008

Getting around the blocking of script

Category: JavaScript, Performance, Yahoo!

Stoyan Stefanov has a post that discusses the issues with browsers blocking on script tags. He discusses the general problem and how YUI has a helper for it by using onreadystatechange and onload: < View plain text > javascript var myHandler = {     onSuccess: function(){         alert(‘:))’);     }, Read the rest…

Posted by Dion Almaer at 7:15 am
6 Comments

+++--
3.7 rating from 19 votes

Wednesday, July 23rd, 2008

Combining JavaScript and CSS for Performance

Category: Performance, Yahoo!

Tenni Theurer of Yahoo! has a new performance post, this time focused on serving files faster by combining them: One performance technique without having to simplify the page design is to combine multiple scripts into a single script, and similarly combine multiple stylesheets into a single stylesheet. Combining multiple files reduces the extra bytes from Read the rest…

Posted by Dion Almaer at 8:14 am
17 Comments

+++--
3.8 rating from 52 votes

Monday, July 21st, 2008

Increase DOM Node Insertion Performance

Category: JavaScript, Performance

John Resig continues his streak of compelling blog entries with “DOM DocumentFragments” where he shows that: A method that is largely ignored in modern web development can provide some serious (2-3x) performance improvements to your DOM manipulation. The technique shown is compatible across a large swath of modern browsers, including our friend IE6. Here’s an Read the rest…

Posted by Ben Galbraith at 9:00 am
6 Comments

++++-
4.1 rating from 34 votes

Wednesday, July 9th, 2008

Webslug: The hot or not of website performance tools

Category: Performance

Kimble Young has created Webslug, the “hot or not of website performance.” It was inspired by webwait but lets you compare the load times of sites and records every performance test for later analysis like browser used, country of origin, top competitors etc. For example, comparing reddit to Digg: It is useful to compare versions Read the rest…

Posted by Dion Almaer at 7:26 am
8 Comments

+++--
3.5 rating from 23 votes

Friday, July 4th, 2008

qUIpt: caching JS in window.name

Category: Performance

Mario Heiderich has released qUIpt, a library that uses the window.name property to store away useful data, in this case JavaScript. How does it work? It checks for the contents of window.name while your page is being loaded. If there’s nothing inside the window.name cache the JS files defined by you are fetched via XHR Read the rest…

Posted by Dion Almaer at 8:57 am
21 Comments

+++--
3.8 rating from 48 votes

Friday, June 27th, 2008

Velocity Conference Videos and Slides

Category: Performance

Steve Souders has a wrap up on the Velocity conference that he co-chaired. He links to his favourite content from the show, which contains a lot of Ajax related work. It was really good to hear snippets form the show such as Eric Lawrence of Microsoft saying “we hope to make Steve’s book out of Read the rest…

Posted by Dion Almaer at 6:11 am
Comment here

++---
2.4 rating from 7 votes

Tuesday, June 24th, 2008

Rendering performance in Canvas compared to SVG and VML

Category: Canvas, Performance

Just after I posted about Ernest’s canvas experiment with photos he put something else up that tests the performance of rendering polygons with Canvas compared to other techniques. The demo lets you run a live test, and view saved tests, comparing the Google Maps interface, which “currently draws polygons using VML for Internet Explorer, SVG Read the rest…

Posted by Dion Almaer at 8:59 am
12 Comments

+++--
3.7 rating from 31 votes

Clientperf: Simple Client-Side Rails Performance

Category: Performance, Rails

Eric Falcao has released Clientperf, a simple client-side Rails performance plugin. The tool came about as Eric is giving a talk on “14 rules of high-performance websites in the typical rails mongrel/nginx stack, the main idea being to focus on some of the important implementation details when it comes to client-side performance optimization.” As I Read the rest…

Posted by Dion Almaer at 7:08 am
1 Comment

+++--
3.8 rating from 13 votes

YSlow now has Firefox 3 support

Category: Performance, Yahoo!

Keeping in the performance vein, YSlow put a new version out in time for Firefox 3. The new version includes: Firefox 3 and Firebug 1.2 beta support improved and simplified check for javascript minification different coloring for inline vs. external CSS and JS (“All CSS” and “All JS” features) clickable list of resources as a Read the rest…

Posted by Dion Almaer at 6:46 am
2 Comments

++++-
4.3 rating from 23 votes

Monday, June 23rd, 2008

Jiffy Firebug Plugin: Fine grained calculation of performance timings

Category: Performance

Today is the kick off of the Velocity performance conference, and we are going to see a fair share of performance news over the next day or two. To start out, Bill Scott (Rico/ex-Yahoo/now Netflix) has announced a new Firebug plugin, Jiffy that adds a new tab showing fine grained performance data. You want to Read the rest…

Posted by Dion Almaer at 9:15 am
8 Comments

+++--
3.8 rating from 34 votes

Thursday, June 12th, 2008

ensure: on demand resources

Category: JavaScript, Performance

Omar AL Zabir of Pageflakes.com has posted on ensure, his JavaScript library that provides a handy function ensure which allows you to load JavaScript, HTML, CSS on-demand and then execute your code. Ensure ensures that relevant JavaScript and HTML snippets are already in the browser DOM before executing your code that uses them. For example: Read the rest…

Posted by Dion Almaer at 6:18 am
6 Comments

+++--
3.5 rating from 14 votes