Government // Enterprise Architecture
News
12/9/2009
02:45 PM
Connect Directly
Google+
LinkedIn
Twitter
RSS
E-Mail
50%
50%

Google Web Toolkit 2.0 Adds Performance Tools

Developers who share Google's obsession with speed have new options to make Web apps faster.

At its latest Campfire One event on Tuesday evening, Google introduced version 2.0 of the Google Web Toolkit (GWT), a set of programming tools designed to simplify the development of Web applications.

GWT 2.0 includes several new tools, the most significant of which is Speed Tracer, a Google Chrome extension that allows developers to profile Web app performance and identify sources of slowness.

Google and others working on browsers like Firefox have succeeded in making JavaScript much faster.

But now, says Google product manager Andrew Bowers, HTML and CSS code often lead to performance bottlenecks.

Speed Tracer, he said, "allows you to profile the application over time and see what's going on."

The project's goal, he says, was to make a tool not just for profiling but for understanding, so developers aren't left trying to sort through massive dumps of performance data.

According to Bruce Johnson, the project's technical lead, Speed Tracer has helped accelerate some Web apps by a factor of 3x to 5x.

GWT 2.0 also is now capable of code splitting, which allows large JavaScript files to be broken apart and downloaded in pieces as needed.

This prevents Web app load delays that occur when waiting for large JavaScript files to download.

The code-splitting capability follows from the development of Google Wave, which involved JavaScript files as large as 1.4 MB.

"For anyone who has tried to split JavaScript themselves this is a welcome change," said Bowers.

In addition, GWT includes an improved way to build interface code called UiBinder, which provides separates visual code elements from application logic.

Other refinements are discussed on the Google Web Toolkit blog.

Comment  | 
Print  | 
More Insights
Register for InformationWeek Newsletters
White Papers
Current Issue
InformationWeek Tech Digest - July 22, 2014
Sophisticated attacks demand real-time risk management and continuous monitoring. Here's how federal agencies are meeting that challenge.
Flash Poll
Video
Slideshows
Twitter Feed
InformationWeek Radio
Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.