Performance


Cover performance, scalability, benchmarks, etc.


Tuesday, July 28th, 2009

Dynamic script generation and memory leaks

Category: JSON, Performance

An interesting piece by Neil Fraser shows that using JSON-P with generated script nodes can be quite a memory leak. Normally you’d add information returned from an API in JSON-P with a generated script node: < View plain text > javascript script = document.createElement(‘script’);   script.src = ‘http://example.com/cgi-bin/jsonp?q=What+is+the+meaning+of+life%3F’;   script.id = ‘JSONP’;   script.type = Read the rest…

Posted by Chris Heilmann at 3:50 pm
15 Comments

+++--
3.8 rating from 26 votes

Monday, July 20th, 2009

A detailed look at how tracing, and TraceMonkey works

Category: JavaScript, Performance

David Mandelin has generously detailed an overview of tracing and TraceMonkey in particular. He starts out by explaining the problem at hand: making a dynamic language such as JavaScript fast is hard. How do you get type info in dynamic type land? Our goal in TraceMonkey is to compile type-specialized code. To do that, TraceMonkey Read the rest…

Posted by Dion Almaer at 1:06 pm
7 Comments

++++-
4.4 rating from 30 votes

Tuesday, June 30th, 2009

LABjs: Simple abstraction for loading dependencies correctly

Category: JavaScript, Performance

Kyle Simpson has developed LABjs, a library that lets you define your JavaScript file dependencies, and then loads them as efficiently as possible. Kyle told us: This project is a simple little tool (1.6k compressed!) for being able to load javascript files dynamically. It’s like a lot of similar projects where the goal is to Read the rest…

Posted by Dion Almaer at 6:16 am
24 Comments

++++-
4 rating from 40 votes

Monday, June 29th, 2009

MySpace open sources advanced browser performance tool for IE

Category: Browsers, IE, Performance

Developers tend to tease MySpace for its look, but the insiders are incredibly impressed by some of the engineering behind the scenes (e.g. their internal monitoring tools are said to be second to none). They have surprised us again with their new tool MSFast which is “a browser plugin that help developers to improve their Read the rest…

Posted by Dion Almaer at 5:21 am
11 Comments

++++-
4.5 rating from 37 votes

Wednesday, June 24th, 2009

iPhone 3GS runs faster than claims, if you go by SunSpider

Category: Mobile, Performance

Rana Sobhany of Medialets has posted on Sun Spider benchmarks of the iPhone 3GS as well as other devices which shows off the performance angle of 3GS: The WebKit Open Source Project provides a JavaScript test Suite dubbed SunSpider. According to the description on the SunSpider home page, “this benchmark tests the core JavaScript language Read the rest…

Posted by Dion Almaer at 3:03 pm
7 Comments

++++-
4.1 rating from 35 votes

Tuesday, June 23rd, 2009

Sprite Me! Helping you sprite up, but maybe you shouldn’t?

Category: CSS, Performance

There have been many tools to help make image spriting easier, by packaging up your images into one large image and splitting it up again via CSS. Steve Souders just showed off a new little tool he created, Sprite Me at the Velocity conference that kicked off today. He has made it easier to work Read the rest…

Posted by Dion Almaer at 12:01 am
6 Comments

++++-
4 rating from 28 votes

Friday, June 5th, 2009

Page Speed: New open source Firebug performance extension from Google

Category: Google, Performance, Utility

Richard Rabbat and Bryan McQuade have introduced a new tool called Page Speed that is a fully open source (e.g. it has a public bug database, process for accepting code contributions, roadmap, etc) performance Firebug plugin: Page Speed is a tool we’ve been using internally to improve the performance of our web pages — it’s Read the rest…

Posted by Dion Almaer at 12:53 am
11 Comments

++++-
4.3 rating from 49 votes

Thursday, May 21st, 2009

Digg shows Multipart XMLHttpRequest prototype

Category: Ajax, JavaScript, Performance

Micah Snyder of Digg posted on DUI.Stream, an experimental library that implements a multipart XHR technique to bundle resources into one request and then breaks them out at the other end: One of the ways that high-performance websites like Yahoo suggest speeding up load times is by reducing the number of HTTP requests per page. Read the rest…

Posted by Dion Almaer at 7:31 am
19 Comments

++---
2.4 rating from 84 votes

Tuesday, May 5th, 2009

A Better Javascript Memoizer

Category: JavaScript, Performance

We have covered memoizers in the past, but John Hann has posted on a nice implementation that takes advantage of closures, arity, and recursion — 3 concepts/features that Javascript was meant to use. It leads to this generic version: < View plain text > javascript // memoize: a general-purpose function to enable a function to Read the rest…

Posted by Dion Almaer at 5:16 am
4 Comments

+++--
3.9 rating from 35 votes

Tuesday, April 21st, 2009

Common HTTP Tracing Export Format

Category: Performance, Utility

There are many tools that can track HTTP at various levels, but they each have their own format. What if we lived in a world where there was a common format which would enable the following: Steve Souders: “Hey Dion, Facebook is doing something wacky on their category pages. Take a look at the waterfall Read the rest…

Posted by Dion Almaer at 5:39 am
5 Comments

++++-
4 rating from 18 votes

Thursday, April 9th, 2009

Souders: Don’t Use @import

Category: CSS, IE, Performance

Web performance guru Steve Souders noted some time ago in his book that @import is harmful to web page rendering times, but today he elaborated on this claim in a longish blog post: There are two ways to include a stylesheet in your web page. You can use the LINK tag: <link rel=’stylesheet’ href=’a.css’> Or Read the rest…

Posted by Ben Galbraith at 9:00 am
11 Comments

++++-
4 rating from 136 votes

Tuesday, April 7th, 2009

Qooxdoo Jumps into Taskspeed FTW (on IE)

Category: Performance, Qooxdoo

The Qooxdoo gang have created tests for Taskspeed with some surprising results: On IE qooxdoo is by far the fastest framework. Across browsers and frameworks, qooxdoo gained the highest ranks on all versions of IE (i.e. 6, 7 and 8), and made its lowest mark coming out third on Firefox 3.0. This exceptional IE performance Read the rest…

Posted by Ben Galbraith at 9:19 am
26 Comments

++++-
4 rating from 67 votes

Tuesday, March 31st, 2009

TaskSpeed: More benchmarks for the libraries and browsers

Category: Library, Performance

I didn’t want the TaskSpeed library task test suite to be lost in the Dojo 1.3 announcement. Alex called it out: Pete Higgins has been working on a new set of benchmarks with the help of other toolkit vendors (to ensure fairness) called “TaskSpeed“. Dojo 1.3 wins by a wide margin. Across all the reported Read the rest…

Posted by Dion Almaer at 12:07 pm
29 Comments

+++--
3.9 rating from 54 votes

Monday, March 30th, 2009

Browser Reflows & Repaints; How do they affect performance?

Category: Browsers, CSS, Performance

Nicole Sullivan has a very detailed post on reflow and repaints and how they affect performance (and also how to potentially avoid them). What are they again? A repaint occurs when changes are made to an elements skin that changes visibility, but do not affect its layout. Examples of this include outline, visibility, or background Read the rest…

Posted by Dion Almaer at 5:38 am
1 Comment

++++-
4.1 rating from 38 votes

Friday, March 27th, 2009

How Can We Have More Ajax Experience Videos?

Category: Adobe, Opera, Performance, The Ajax Experience, Video

Fresh from our hidden cache, we bring you: Ajax 2.0 with Anne van Kesteren Ajax Testing Tool Review with Ted Husted Analyzing the Ajax Application Performance with Gaurav Seth Building Your First Adobe AIR Application with Kevin Hoyt

Posted by Ben Galbraith at 6:00 am
3 Comments

++---
2.5 rating from 20 votes

Wednesday, March 18th, 2009

Super fast client side searches – the Flickr way

Category: Examples, JSON, Performance, XmlHttpRequest, Yahoo!

Over at the Flickr development blog, Ross Harmes, one of those lesser sung JavaScript heroes explains in detail how Flickr creates really fast client side searches and one of the implementations of these findings is the newly released find people faster feature: The main findings of the team were that eval() is not only evil Read the rest…

Posted by Chris Heilmann at 2:38 pm
7 Comments

+++--
3.6 rating from 23 votes