Performance


Cover performance, scalability, benchmarks, etc.


Tuesday, November 25th, 2008

UA Profiler: A second look

Category: Browsers, Performance

We posted on Steve’s UA Profiler tool, and John Resig has taken a nice look at the current results. It actually now looks like Minefield (Firefox nightly) is getting 10 out of 11, and the other browsers are doing great too. Jonas Sicking of Mozilla has a really nice comment that talks about what the Read the rest…

Posted by Dion Almaer at 9:16 am
3 Comments

+++--
3.9 rating from 16 votes

Thursday, November 13th, 2008

Timing in JavaScript and browsers can’t be trusted

Category: JavaScript, Performance

This is officially the week of John. If he delivers top notch posts for the rest of the week he wins an Ajaxian award or something. Maybe we need to bring back the “pack of cards” where each card is an Ajax personality and John gets to be Ace of Hearts or something. I remember Read the rest…

Posted by Dion Almaer at 12:54 am
3 Comments

+++--
3.6 rating from 20 votes

Monday, November 10th, 2008

JSLitmus: Testing JavaScript Performance

Category: Performance, Testing, Utility

Robert Kieffer has announced JSLitmus a tool “designed specifically to allow you to quickly and easily write a JavaScript test (or test suite), run it on any modern browser, and document and share the results.” To see it in action, Robert writes a test on “++” and plots the results for different browsers, and then Read the rest…

Posted by Dion Almaer at 6:20 am
2 Comments

+++--
3.4 rating from 10 votes

Thursday, November 6th, 2008

Razor Optimizer: Runtime analysis of your Ajax code for optimization

Category: Performance

Coach Wei has updated Razor Optimizer, “a JavaScript optimization tool for reducing code footprint and increasing runtime performnace. As a cross-browser web application itself, Razor Optimizer can be access either online as a service, or to be downloaded to run locally. Razor Optimizer is based on a new approach for JavaScript optimization called “razor”. While Read the rest…

Posted by Dion Almaer at 9:43 am
20 Comments

++---
2.8 rating from 29 votes

Tuesday, October 28th, 2008

Delaying JavaScript Execution

Category: JavaScript, Performance

Matt has a nice post on delaying JavaScript execution in a way that waits for certain events to finish: If you’re looking to execute javascript code whenever someone finishes (or stops temporary) scrolling, moving the mouse, or resizing the page, you may find the following segment of code useful. He shares the following boilerplate code: Read the rest…

Posted by Dion Almaer at 6:19 am
10 Comments

++---
2.8 rating from 38 votes

Tuesday, October 14th, 2008

Runtime Page Optimizer: Fix performance on the fly

Category: Performance

Steve Souders posted on Runtime Page Optimizer a tool that you can think of as a performance proxy. It sits on the server side, and cleans up content before it is sent back to the browser. What can it do? Steve let us know: RPO automatically implements many of the best practices from my book Read the rest…

Posted by Dion Almaer at 8:11 am
6 Comments

++++-
4 rating from 26 votes

Wednesday, October 8th, 2008

Extreme JavaScript Performance; John Resig on Ars

Category: JavaScript, Performance

Ars Technica has a new columnist, John Resig. His first piece is on Extreme JavaScript Performance which has started to come to us in abundance recently! His article focuses on the latest updates to the fish, SquirrelFish Extreme: A popular technique that is gaining traction amongst JavaScript engine implementers is that of optimizing the engine, Read the rest…

Posted by Dion Almaer at 4:17 am
4 Comments

+++--
3.8 rating from 32 votes

Tuesday, October 7th, 2008

Regex performance in modern JSVMs

Category: JavaScript, Performance

Based on its performance on the regexes it does handle, WREC (WebKit Regular Expression Compiler) is indeed an awesome design. regexp-dna.js, however, is flawed and exaggerates SFX performance. We could use nanojit to make a regex compiler for SpiderMonkey that would perform as well as WREC. But I don’t know if it’s worthwhile yet. Regex Read the rest…

Posted by Dion Almaer at 5:57 am
Comment here

+++--
3.9 rating from 12 votes

Wednesday, October 1st, 2008

Hammerhead: Continuous integration for performance

Category: Performance, Utility

Steve Souders is launching Hammerhead today at The Ajax Experience. What is Hammerhead? I kinda think of it as continuous integration for performance. It is a Firebug plugin that you can setup to monitor the performance of your application. Imagine if you add a new feature that you think will speed things up, this tool Read the rest…

Posted by Dion Almaer at 7:33 am
1 Comment

+++--
3.2 rating from 27 votes

Tuesday, September 30th, 2008

Smushit.com makes image optimizing a breeze

Category: Performance, The Ajax Experience

We’ve heard a lot about optimizing CSS, HTML and JavaScript but one thing that is less talked about is how much extra information image editors put into image files. You might think you’ve done a great job optimizing your GIFs, PNGs and JPGs while still keeping them visually pleasing but when you use a text Read the rest…

Posted by Chris Heilmann at 11:01 am
19 Comments

+++--
3.7 rating from 20 votes

Saturday, September 20th, 2008

SquirrelFish Extreme: JIT comes to SquirrelFish with extreme results

Category: JavaScript, Performance, WebKit

While Ben and I were talking about JavaScript performance (and other things) at Web 2.0 Expo NYC, Maciej Stachowiak announced SquirrelFish Extreme, the very new and improved version that appears to do very well at SunSpider: SquirrelFish Extreme: 943.3 ms V8: 1280.6 ms TraceMonkey: 1464.6 ms What makes it so fast? SquirrelFish Extreme uses four Read the rest…

Posted by Dion Almaer at 12:09 am
13 Comments

++++-
4.4 rating from 30 votes

Friday, September 12th, 2008

Delayed Script Execution; An Opera feature that has Steve excited

Category: Performance

Steve has found a new tidbit that has him excited. The feature at hand comes from Opera Primarily for low bandwidth devices, not well-tested on desktop. Ignore script tags until entire document is parsed and rendered, then execute all scripts in order and re-render. Steve explains how you he is a fan of splitting up Read the rest…

Posted by Dion Almaer at 7:35 am
5 Comments

+++--
3.4 rating from 20 votes

New Profilers and Debuggers in Google Chrome and IE

Category: Performance

Sameer Chabungbam of Microsoft posted about the new JScript profiler the includes the following functionality: Provides performance data for JScript functions in two views: Functions View – a flat listing of all the functions Call Tree view – a hierarchical listing of the functions based on the call flow Supports exporting the data to a Read the rest…

Posted by Dion Almaer at 4:50 am
Comment here

++---
2.5 rating from 49 votes

Wednesday, September 3rd, 2008

Brendan discusses how TraceMonkey is climbing faster; Ruby on the Web with V8

Category: JavaScript, Performance

Brendan Eich jumped right in and benchmarked the tip of tree for TraceMonkey, with the V8 version that came with Google Chrome: We win on the bit-banging, string, and regular expression benchmarks. We are around 4x faster at the SunSpider micro-benchmarks than V8. This graph does show V8 cleaning our clock on a couple of Read the rest…

Posted by Dion Almaer at 1:19 pm
2 Comments

+++--
3.8 rating from 16 votes

Wednesday, August 27th, 2008

Proxy issues with querystrings in path names

Category: Performance

You have seen this before: /path/to/something.js?v=2, or maybe it used a date or a version control id or some such. The notion of putting the version into the URL so you can aggressively cache and yet quickly push new versions. There has long been issues with using the querystring as the version. At some point Read the rest…

Posted by Dion Almaer at 6:06 am
4 Comments

++---
2.4 rating from 7 votes

Monday, August 25th, 2008

Razor Profiler: Check out your Ajax code

Category: Performance

Razor Profiler is a web-based Ajax profiling tool to help web developers understand and analyze the runtime behavior of their JavaScript code in a cross-browser environment. Razor Profiler can be access either online as a service; or be downloaded to run locally, and was created by Coach Wei who has done a lot of work Read the rest…

Posted by Dion Almaer at 9:07 am
6 Comments

+++--
3.6 rating from 19 votes