Cover performance, scalability, benchmarks, etc.

Wednesday, March 11th, 2009

Is optimizing CSS selectors worth it?

Category: CSS, Performance

For most web sites, the possible performance gains from optimizing CSS selectors will be small, and are not worth the costs. There are some types of CSS rules and interactions with JavaScript that can make a page noticeably slower. This is where the focus should be. So I’m starting to collect real world examples of Read the rest…

Posted by Dion Almaer at 8:44 am

4.4 rating from 26 votes

Tuesday, March 3rd, 2009

Juicer: Package your JavaScript and CSS

Category: Performance, Utility

Christian Johansen has released Juicer a very nice Sprocket-esque tool for packaging and managing your JavaScript AND your CSS. It has taken all of the best practices and put them in one tool, including: resolve dependencies for JavaScripts and CSS files combine files add cache busters to URLs inside CSS files cycle asset hosts for Read the rest…

Posted by Dion Almaer at 5:59 am

3.9 rating from 21 votes

Tuesday, February 24th, 2009

JavaScript Function Call Profiling with FireUnit

Category: jQuery, Performance

John Resig has posted on JavaScript Function Call Profiling and new methods he has added to FireUnit: fireunit.getProfile(); Run this method after you’ve run console.profile(); and console.profileEnd(); to get a full dump of the profiling information. For example, given the following profile run: You’ll get the following JavaScript object returned from fireunit.getProfile(): < View plain Read the rest…

Posted by Dion Almaer at 12:23 am
Comment here

3.2 rating from 33 votes

Wednesday, February 18th, 2009

JavaScript Inheritance Performance

Category: JavaScript, Performance

Robert Kieffer has run some benchmarks on the performance of JavaScript inheritance using different inheritance techniques: One area of the Prototype JavaScript library that I have a bit of a love-hate relationship with is its support for mimicing OO inheritance.   The ability to call $super from within a function to refer to a superclass’ Read the rest…

Posted by Dion Almaer at 6:34 am

4.1 rating from 14 votes

Thursday, February 5th, 2009

Speeding up your JavaScript: Part 3 and 4

Category: JavaScript, Performance

Nicholas C. Zakas wraps up his series on speeding up JavaScript with two more posts on the subject. First up, he delves deeper into a generic memoizer: In part 2 of this series, I wrote briefly about handling too much recursion in a function through memoization. Memoization is a technique for caching previously calculated values Read the rest…

Posted by Dion Almaer at 5:15 am

4.1 rating from 18 votes

Opera comes out with new JavaScript engine in Carakan, new hardware API in Vega

Category: JavaScript, Opera, Performance

Opera isn’t sitting on their heels as the other browser vendors get snappy (even if other claim so!) Today they announced Carakan a new register based JavaScript VM that is currently 2.5 times faster than their existing one (based on SunSpider). It does native code generation including at specializing for Regex (interestingly since irregex for Read the rest…

Posted by Dion Almaer at 12:01 am

4.5 rating from 35 votes

Wednesday, February 4th, 2009

irregexp: New fast Regexp engine in Chrome

Category: Chrome, Performance

We are seeing great work with faster JavaScript, but what about faster DOM? Or faster CSS? Or faster libraries? Or faster Regexp? Well, members of the Chrome team have announced irregexp, a faster Regexp engine for Chrome. They go into detail on what they had, what they did, and why they did it. It is Read the rest…

Posted by Dion Almaer at 5:19 pm

4.4 rating from 26 votes

Monday, February 2nd, 2009

Pagetest visualizations of connections

Category: Performance, Utility

Patrick Meenan has added a new set of visualizations to Patrick told folks on the exceptional performance mailing list about it: There are 2 versions. On the main waterfall page (below the traditional waterfall) you’ll see a “connection” view of the waterfall. If you go to the content breakdown page (click on the pie Read the rest…

Posted by Dion Almaer at 5:18 am

3.9 rating from 13 votes

Monday, January 26th, 2009

RockstarApps’ Web Optimization plugins for Eclipse and Aptana

Category: Performance

Bob Buffone has some interesting performance plugins for Eclipse and Aptana, so I asked him to tell us a little about them. He came up with this: This week RockstarApps released a beta version of jsLex 1.2. The goal of project is to “codify” all the research that has been done in Web Optimization by Read the rest…

Posted by Dion Almaer at 5:59 am

3.8 rating from 23 votes

Friday, January 23rd, 2009

Speed up your JavaScript with memoization and queueing

Category: JavaScript, Performance

Nicholas C. Zakas is back at it with part two of his Speed up your JavaScript series. This time he again discusses the problem with loops, and in this case nested loops: < View plain text > javascript function bubbleSort(items){     for (var i=items.length-1; i >= 0; i–){         for (var Read the rest…

Posted by Dion Almaer at 6:03 am

3.3 rating from 18 votes

Thursday, January 22nd, 2009

JavaScript Performance Rocks; Beware the DOM monster!

Category: Book Reviews, Performance

When I heard that the dynamic duo Thomas Fuchs and Amy Hoy were writing a book I wanted to check it out. They have released a beta version, which is pretty much code complete, with just some copy and illustration tweaks to come ($24). The book is actually a bit of a two in one, Read the rest…

Posted by Dion Almaer at 8:35 am

3.8 rating from 32 votes

Tuesday, January 6th, 2009

What Causes the Long-Running Script Warning?

Category: Browsers, JavaScript, Performance

Nicholas Zakas decided to dive deep on everyone’s favorite sign that you’ve done something wrong: Few web developers truly understand what triggers the long-running script dialog in various browsers, including myself. So I decided to sit down and figure out under what circumstances you’ll see this dialog. There are basically two different ways of determining Read the rest…

Posted by Ben Galbraith at 10:33 am
1 Comment

4.3 rating from 27 votes

Monday, December 29th, 2008

Eeking out performance in script loading

Category: Performance

Steve Souders has detailed the coupling of script loading with various asynchronous techniques with examples that show the timings that you can get. First he sets the scene: One issue with async script loading is dealing with inline scripts that use symbols defined in the external script. If the external script is loading asynchronously without Read the rest…

Posted by Dion Almaer at 9:01 am

4.4 rating from 10 votes

Wednesday, December 24th, 2008

Giving developers and users responsiveness data

Category: Browsers, Performance

I posted on my personal blog about using the crowd to tell us about browser responsiveness in which I discussed giving developers information about browser responsiveness and how add-ons can affect it: I have had some folks talk to me about responsiveness issues with Firefox 3. I have had a fantastic experience, and currently I Read the rest…

Posted by Dion Almaer at 7:09 am
1 Comment

4 rating from 6 votes

UA Profiler Improves

Category: Performance

Steve Souders has updated his UA Profiler tool that tracks the performance traits of various browsers. Being able to drill down and see the differences from build to build is great stuff, and here are all the new features: drilldown Previously, I had one label for a browser. For example, Firefox 3.0 and 3.1 results Read the rest…

Posted by Dion Almaer at 6:16 am
Comment here

3.6 rating from 5 votes

Thursday, December 18th, 2008

Steve’s State of Performance 2008

Category: Performance

Steve Souders has a nice performance roundup for 2008 that details some of the important utilities and knowledge that we gained this year. His post gets even more interesting when he posits about the future, including: Visibility into the Browser: Packet sniffers (like HTTPWatch, Fiddler, and WireShark) and tools like YSlow allow developers to investigate many Read the rest…

Posted by Dion Almaer at 5:57 am
1 Comment

3.9 rating from 17 votes