Performance


Cover performance, scalability, benchmarks, etc.


Tuesday, April 15th, 2008

jQuery and Prototype Benchmarks

Category: JavaScript, jQuery, Performance, Prototype

Piotr Solnica did a couple of posts on jQuery and Prototype benchmarks back in the day, and John-David Dalton just found them. In part one, he runs tests such as: < View plain text > javascript $(‘td.first’).addClass(‘marked’); // jQuery   $$(‘td.first’).each(function(cell){   cell.addClassName(‘marked’); });   // or   $$(‘td.first’).invoke(‘addClassName’, ‘marked’); and concludes: Executed tests show Read the rest…

Posted by Dion Almaer at 5:13 am
16 Comments

++++-
4.5 rating from 170 votes

Monday, April 14th, 2008

using.js: manage JavaScript dependencies

Category: JavaScript, Library, Performance

Jon Davis created Using.js, a simple library to manage dependencies with the goals of: Seperate script dependencies from HTML markup (let the script framework figure out the dependencies it needs, not the designer) Make script referencing as simple and easy as possible (no need to manage the HTML files) Lazy load the scripts and not Read the rest…

Posted by Dion Almaer at 6:10 am
4 Comments

+++--
3.5 rating from 22 votes

Friday, April 11th, 2008

Dromaeo: JavaScript Engine Testing

Category: JavaScript, Performance

John Resig has put out Dromaeo maybe a touch before he wanted to due to people finding it :) The site hosts a subset of the WebKit Sun Spider JavaScript engine tests right now, with the desire to push on and do a lot more. You can run tests and then compare your own results. Read the rest…

Posted by Dion Almaer at 3:20 pm
10 Comments

+++--
3.7 rating from 25 votes

Monday, March 31st, 2008

Using a hash property for security and caching

Category: Performance, Security

Douglas Crockford would like to see a hash= attribute to aid security and performance: Any HTML tag that accepts a src= or href= attribute should also be allowed to take a hash= attribute. The value of a hash attribute would be the base 32 encoding of the SHA of the object that would be retrieved. Read the rest…

Posted by Dion Almaer at 8:35 am
25 Comments

++++-
4.3 rating from 22 votes

Friday, March 28th, 2008

Doloto: Code Splitting for Network-Bound Applications

Category: Microsoft, Performance

I missed the Microsoft Research paper on Doloto: Code Splitting for Network-Bound Web 2.0 Applications: Modern Web 2.0 applications, such as GMail, Live Maps, Facebook and many others, use a combination of Dynamic HTML, JavaScript and other Web browser technologies commonly referred as AJAX to push page generation and content manipulation to the client web Read the rest…

Posted by Dion Almaer at 7:48 am
1 Comment

++---
2.4 rating from 21 votes

Thursday, March 27th, 2008

The importance of bandwidth versus latency

Category: Browsers, Performance, WebKit

Between cranking on Acid 3 tests, the WebKit crew has explained some issues in Optimizing Page Loading in the Web Browser: It is well understood that page loading speed in a web browser is limited by the available connection bandwidth. However, it turns out bandwidth is not the only limiting factor and in many cases Read the rest…

Posted by Dion Almaer at 7:22 am
3 Comments

++++-
4.4 rating from 19 votes

Friday, March 21st, 2008

Yahoo! releases new performance best practices

Category: Performance, Yahoo!

Stoyan Stefanov has been working with the Yahoo! engineers to find more best practices, and presented on a new batch: He covers the existing 14 rules, plus 20 new rules for faster web pages. We’ve categorized the optimizations into: server, content, cookie, JavaScript, CSS, images, and mobile. Here are the new items, with details on Read the rest…

Posted by Dion Almaer at 11:02 am
20 Comments

++++-
4.4 rating from 70 votes

Roundup on Parallel Connections

Category: Browsers, Performance

Steve Souders has taken a step back, analyzed the blog content that came out of IE 8 supporting 6 connections per host, and has pulled together the facts to discuss: HTTP/1.1 RFC Section 8.1.4 of the HTTP/1.1 RFC says a “single-user client SHOULD NOT maintain more than 2 connections with any server or proxy.” The Read the rest…

Posted by Dion Almaer at 10:10 am
1 Comment

+++--
3.3 rating from 10 votes

Monday, March 17th, 2008

IE 8 Connetion Parallelism Issues

Category: Browsers, IE, Performance

Now that we have our hands on IE 8 beta, we see developers testing the various features. Ryan Breen continues IE 8 tests on the new connection limits and parallelism: A few weeks ago, I discussed IE8’s improved connection parallelism, specifically the increase from 2 concurrent connections per host to 6. One open question was Read the rest…

Posted by Dion Almaer at 6:14 am
11 Comments

+++--
3.8 rating from 29 votes

Friday, March 14th, 2008

Lessons learned from improving Google Code web site performance

Category: Google, Performance, Showcase

We went through Google Code and did a lot of work to get it running faster. The team used a lot of the principles from Steve Souders book: High Performance Web Sites and ended up with a nice gain: According to our latency measurement stats, the user-perceived latency on Google Code dropped quite a bit, Read the rest…

Posted by Dion Almaer at 3:58 pm
2 Comments

+++--
3.6 rating from 26 votes

Thursday, March 13th, 2008

Firefox 3 Memory Usage

Category: Firefox, Performance

Stuart Parmenter has been blogging about his work on memory usage and various malloc() libraries and their tradeoffs. In his latest, he talks about the memory usage in Firefox 3 today and the work that he has done: Reduced Memory fragmentation: One of the things we did to help was to minimize the number of Read the rest…

Posted by Dion Almaer at 8:41 am
7 Comments

++++-
4.3 rating from 64 votes

Tuesday, March 11th, 2008

IE 8 and Performance

Category: Browsers, IE, Performance

Steve Souders has posted on IE 8 and performance improvements. One new nugget of information that I haven’t seen anywhere else is the fact that scripts are now loaded in parallel (and execution is still serial of course): Increasing parallel downloads makes pages load faster. (For users with slower CPUs or Internet connections it could Read the rest…

Posted by Dion Almaer at 12:01 am
21 Comments

++++-
4.2 rating from 24 votes

Friday, March 7th, 2008

IE and WebKit Performance; Is WebKit the Ralph Nader of Browsers?

Category: Browsers, Performance

We have seen a barrage of performance and compliance information this week haven’t we. Wow. We got a little more yesterday too. The WebKit team talked about the Acid 3 test and how they are up to 90/100: Support for CSS3 Selectors We added support for all of the remaining CSS3 selectors. These include selectors Read the rest…

Posted by Dion Almaer at 12:34 pm
14 Comments

+++--
3.4 rating from 39 votes

How green is your Web site?

Category: Performance

Steve Souders, the Web performance chap, has been inspired to calculate how green your website is based on the correlation between fast pages and energy: Intrigued by an article on Radar about co2stats.com, I looked at my web performance best practices from the perspective of power consumption and CO2 emissions. YSlow grades web pages according Read the rest…

Posted by Dion Almaer at 6:58 am
13 Comments

++---
2.6 rating from 38 votes

Thursday, March 6th, 2008

Backbase tests browser JavaScript and Render performance including IE 8

Category: Browsers, JavaScript, Performance

Sjoerd Mulder of Backbase ran a couple of performance tests on a slew of browsers, including IE 8 beta. He tested both the JavaScript performance, and the rendering performance: A lot of respect and thanks to all the browser teams pushing the boundary of performance. I think it’s an awesome result that the current nightlies Read the rest…

Posted by Dion Almaer at 8:11 am
11 Comments

++++-
4.1 rating from 33 votes

Friday, February 29th, 2008

Firefox 3 Performance Numbers

Category: Browsers, JavaScript, Performance

Moving on from the “let me use that API” conversation and only some real stuff, urandom (thanks for the comment) let us know about the Cybernet News article on Firefox 3 performance. They are reporting that Firefox 3 is now faster than Safari 3, and is close to WebKit nightly in certain benchmarks. I can Read the rest…

Posted by Dion Almaer at 4:40 pm
22 Comments

++++-
4.7 rating from 62 votes