Microsoft Dev Labs released an Ajax application optimization tool called Doloto. Doloto is very useful for large and complex Web 2.0 applications that contain a lot of code. Doloto analyzes AJAX application workloads and automatically performs code splitting of existing large Web 2.0 applications. After being processed by Doloto, an application will initially transfer only the portion of code necessary for application initialization.
Doloto reduces the size of initial application code download by hundreds of kilobytes or as much as 50% of the original download size. The time to download and begin interacting with large applications is reduced by 20-40% or dozens of seconds as shown below, depending on the application and wide-area network conditions.
The Doloto process proceeds in three steps, which correspond to wizard steps in the Doloto GUI.
- Second, the profiling information is used to calculate code coverage and a clustering strategy. This determines which functions are stubbed out and which are not. This also groups functions into groups which are downloaded together, called clusters.
This document is a step-by-step guide on how to use Doloto.