- We design and build extraordinary applications for companies looking to make the next great idea a reality.
- learn more
GWT Performance Talk
Another talk that was really more about general Ajax performance, rather than GWT performance. I've done a bit of work here myself (see chapter 9), so I'm always looking for some new tips and tricks. Joel Webber did a manful job going through the usual suspects -- fewer HTTP requests, bundle images, compress your JavaScript, perceived performance and actual performance are two different things.
Maybe the biggest bombshell was his recommendation to use innerHTML to build large DOM structures; it was an order of magnitude faster in all browsers than direct DOM manipulation. While that recommendation seems reasonable, it makes the GWT abstraction even leakier.
Some more GWT specific perf recommendations:
- Use the DeferredCommand to split long running
- Immutable resource bundles that will let you use image bundles in CSS background images.
Some quotes:
"Our JavaScript doesn't gzip quite as much as others, because our JavaScript doesn't include as much redundant crap."
"We had a hard time measuring JavaScript compilation because it takes so little time on modern computers."
"Firebug is often wrong when it comes to network timing. It has led me down a rathole several times."
"HTTP requests are the most time consuming thing you will do. DOM manipulation is next."
Technorati Tags: gwt, ajax, performance
Topics: GWT, Performance
Leave a comment
About Pathfinder
Recent
- Faster JavaScript for Firefox 3.1 Thru JIT
- Implementing linked multiselects with jQuery, LiveQuery, and Low Pro: Part 2: First pass at the actual code
- I’m Cranky Because I’m Not Getting Enough REST
- Flex Gauge Component Example with source
- Plugging Some Cool Tools
- Implementing linked multiselects with jQuery, LiveQuery, and Low Pro: Part 1: Requirements and interaction design
- Many Varied Components, or… Multi Variable Complexity, or… Mainly Vanilla Coding
- Custom Flex 3 Lightweight Preloader with source code
- Mass Assigning Inheritance Column Values for ActiveRecord STI with Rails
- Working effectively as a team of one: Five tips for front-end developers on Agile teams
Archives
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006

