Performance


Cover performance, scalability, benchmarks, etc.


Monday, June 9th, 2008

String Performance in IE: Array.join vs += continued

Category: IE, JavaScript, Performance

Tom Trenka has followed up his last post on String performance with a deep dive on IE that dispells the myth of Array.join. Tom goes through tons of tests across versions of IE and using varying sizes of data. In Conclusion First things first—with the performance improvements with IE7, we no longer need to consider Read the rest…

Posted by Dion Almaer at 8:37 am
9 Comments

+++--
3.5 rating from 21 votes

Friday, June 6th, 2008

A Technique For Lazy Script Loading

Category: JavaScript, Performance

Bob Matsuoka has written a guest article on the topic of lazy script loading. Thanks so much Bob! A recent article “Lazily load functionality via Unobtrusive Scripts” discussed how to lazily load Javascript script files by appending script elements to the HEAD tag. While this works as expected, I’ve found that for best results, you Read the rest…

Posted by Dion Almaer at 10:00 am
33 Comments

++++-
4.2 rating from 51 votes

Thursday, June 5th, 2008

Javascript HTML Construction Benchmark

Category: Performance

“innerHTML is 35 times faster than DOM.” “DOM methods are just as fast!” This is a constant argument, and statistics hardly help ;) Laurens Holst of Backbase has taken a detailed look at the issue as he drew up his own benchmark. People keep mentioning performance as an argument for using innerHTML, citing that article, Read the rest…

Posted by Dion Almaer at 11:03 am
26 Comments

+++--
3.6 rating from 47 votes

Tuesday, June 3rd, 2008

SquirrelFish: Details on the new

Category: JavaScript, Performance, WebKit

We posted about the new WebKit JavaScript engine SquirrelFish, and now we have an official announcement that goes into fantastic detail on the beast: What is SquirrelFish SquirrelFish is a register-based, direct-threaded, high-level bytecode engine, with a sliding register window calling convention. It lazily generates bytecodes from a syntax tree, using a simple one-pass compiler Read the rest…

Posted by Dion Almaer at 9:21 am
7 Comments

++++-
4.3 rating from 36 votes

Thursday, May 29th, 2008

Speed Up! with WordPress and Gears

Category: Gears, Performance

Reposted from my personal techno.blog I was sitting on the tube a few months ago in London when I looked up to see Matt Mullenweg, Om Malik, and another nice chap whose name escapes me. A little random to bump into them in the middle of London, but we were all in town for the Read the rest…

Posted by Dion Almaer at 8:40 am
1 Comment

++++-
4.3 rating from 19 votes

Wednesday, May 28th, 2008

SquirrelFish: WebKit has a new, fast, JavaScript engine

Category: JavaScript, Performance, WebKit

SquirrelFish seems to be the code name for a new JavaScript engine for WebKit. You can see performance benchmarks that show a significant increase across the board of tests. On average the tests show a 4 times improvement (compared to Safari 3.1), with spikes of 12.6x improvements on some access tests, and with the lowest Read the rest…

Posted by Dion Almaer at 7:14 am
10 Comments

++++-
4.6 rating from 26 votes

Friday, May 23rd, 2008

GUIMark: Another Web application benchmark

Category: Performance

Sean Christmann has introduced GUIMark, a benchmark for HTML, Flex, Silverlight, Swing, and anything else you port it too. Sean saw Bubblemark and thought that there was room for a different type of benchmark: GUIMark takes a different approach by trying to benchmark the types of UI elements common in our Web 2.0 world. This Read the rest…

Posted by Dion Almaer at 7:43 am
5 Comments

+++--
3.7 rating from 18 votes

Wednesday, May 21st, 2008

Stack: A native Array wrapper that works

Category: JavaScript, Library, Performance

Andrea Giammarchi has created a native array wrapper that works across browsers. He is excited: I do not know how many times, during this years, JavaScript Ninjas have tried to subclass the native Array to create libraries over its powerful methods without losing performance. I have finally discovered the way to remove the locked length Read the rest…

Posted by Dion Almaer at 10:00 am
10 Comments

++++-
4.2 rating from 21 votes

Monday, May 19th, 2008

Having a Tamarin trace a Spidermonkey

Category: Firefox, JavaScript, Performance

David Mandelin has posted about Tracehydra, which is the idea that the traced based JIT engine that is being worked on as part of Tamarin could be hooked up to Spidermonkey. Tracehydra would be the fluffy cloud that translates Spidermonkey bytecode to Tamarin IL (or possibly LIR-the details get confusing fast). (In the interest of Read the rest…

Posted by Dion Almaer at 7:15 am
2 Comments

+++--
3.2 rating from 17 votes

Some more JavaScript performance tips

Category: JavaScript, Performance

Thierry Schellenbach has written up some thoughts about JavaScript optimization for Prototype apps after playing with console.profile() / console.profileEnd() in his Prototype applications. The core advice is pretty simple: Beware of $$ and event binding Beware of other Prototype methods (reports a 40 times speed different between innerHTML and element.update) Write to innerHTML instead of Read the rest…

Posted by Dion Almaer at 7:09 am
12 Comments

+++--
3.3 rating from 38 votes

Thursday, May 15th, 2008

Split the Initial Payload; Why are we sending all JavaScript down in one go

Category: JavaScript, Performance

Steve Souders has another insightful post where he discusses splitting the initial payload for the JavaScript in your page / application. Steve first outlines how JavaScript can affect how the browser renders a page: The growing adoption of Ajax and DHTML means today’s web pages have more JavaScript than ever before. The average top ten Read the rest…

Posted by Dion Almaer at 7:41 am
10 Comments

+++--
3.8 rating from 32 votes

Monday, May 12th, 2008

CSS Child Selector Performance

Category: Browsers, CSS, Performance

Are child selectors slower than more simple brethren? This is a question that Jon Sykes sought out data for after he read the work of Jim Barraud. His conclusion? The skinny is that child selectors are a major performance issue. This seemed to make sense, but to me I needed some sort of proof rather Read the rest…

Posted by Dion Almaer at 10:44 am
15 Comments

++++-
4.4 rating from 30 votes

Everything you wanted to know about String performance

Category: JavaScript, Performance

Tom Trenka has detailed a great analysis of JavaScript performance across the various browsers. This is important work, and it reminded me of the JVM days where people tried to use pools and such… to find out that they were bad for performance as newer VM technology came out. When you try to be too Read the rest…

Posted by Dion Almaer at 8:34 am
Comment here

++++-
4.3 rating from 18 votes

Thursday, May 1st, 2008

Cuzillion Video and High Performance Book

Category: Performance

Steve Souders has some more rules for us, as he announces a new book that he is working on. His preliminary view of the chapters are: Split the initial payload Load scripts without blocking Don’t scatter scripts Split dominant content domains Make static content cookie-free Reduce cookie weight Minify CSS Optimize images Use iframes sparingly Read the rest…

Posted by Dion Almaer at 7:43 am
Comment here

++++-
4 rating from 18 votes

Tuesday, April 29th, 2008

Fast Streaming Ajax Proxy

Category: .NET, Performance

Omar AL Zabir, the co-founder & CTO of Pageflakes has written about a continuous streaming Ajax proxy that solves the common problem that all Ajax proxies have, the double delay in downloading content on server first and then delivering to the browser. Omar talks about the continuous proxy that can help solve the problems. The Read the rest…

Posted by Dion Almaer at 7:02 am
Comment here

+++--
3.4 rating from 36 votes

Friday, April 25th, 2008

Cuzillion: Performance best practices tool

Category: Browsers, Examples, JavaScript, Performance, Showcase, Testing

Steve Souders has released a nice little tool called Cuzillion which has the tag line of ‘cuz there are zillion pages to check, although it could also be that there are a zillion ways to do Web development! The tool lets you test out different techniques for optimizing performance in browsers, and these tests can Read the rest…

Posted by Dion Almaer at 1:37 pm
3 Comments

+++--
3.6 rating from 19 votes