Build your professional network on facebook via our app Go to app
 
<< Prev  4 of 4 in Topic 
Topic : Ajax and Performance
  Rate : 
 
By : Ajay Singh, Tech Lead, Birlasoft Limited
Industry : IT Products Functional Area : New Technologies
Keywords :

ajax

javascript

Activity:  0 comments  365 views  last activity : 07 06 2010 20:18:04 +0000
Share
 
 
 

Hi,

AJAX web applications bring a variety of rich user experiences to the web, but often those experiences require downloading a lot of code.  The result is applications that are frustratingly slow to load and taxing to web servers.

Today we are announcing the availability of Doloto on MSDN DevLabs.  Doloto is a tool that makes pages more responsive by decreasing the initial download size of complex AJAX web applications.

Doloto analyzes AJAX application workloads and automatically performs code splitting of existing large web applications. Doloto enables applications to initially transfer only the portion of client-side JavaScript code necessary for application initialization. The rest of the application’s code is replaced by short stubs; their actual function code is transferred lazily in the background or on-demand on first execution. Since code download is interleaved with application execution, users can start interacting with your web application much sooner without waiting to download code that implements features they’re not currently using.

How it Works

Doloto is a standalone client-side tool.  Its wizard guides you through the following three steps:

 

  1. Doloto profiles your application. Doloto performs profiling by running a local proxy on your machine that intercepts JavaScript files and instruments them to capture timestamps at runtime for every JavaScript function in a browser-independent manner.
  2. Profiling information is used to calculate code coverage and a clustering strategy. This determines which functions are stubbed out and which are not and groups functions into batches which are downloaded together, called clusters.
  3. It then saves it to disk so that you can upload it to the server. The entire process happens on your machine, without needing access to the server. This way, you can profile and optimize the JavaScript of a any third-party site without special access to their servers. When you are satisfied with Doloto’s results, you can deploy the rewritten files to the server.

 

Show Me Some Results!

In our experiments across a number of AJAX applications and network conditions, Doloto reduced the amount of initial downloaded JavaScript code by over 40%, resulting in startup often faster by 30-40%, depending on network conditions.  The chart below shows savings in the amount of downloaded JavaScript code across a range of popular web sites required for the initial application loading phase.

 You can install and play with this.

Regards,

Ajay Singh

 
TrackBack URL:
0 comments on "Doloto on DevLabs"
Add your comment on "Doloto on DevLabs"

Rate:
Submit
NIIT
Java corses in bangalore
Java courses in bangalore
Viewers also viewed
With the advancement in new technologies e-waste have also increased creating environmental...
 
174 referals 57 arguments, 5259 views
There is a very hot debate whether technology is killing creativity or not. With people getting...
 
1331 referals 61 arguments, 4941 views
The ongoing fight for business applications supremacy between Oracle and SAP AG has been long and...
 
274 referals 23 arguments, 5302 views
more...  
Recent Knowledge (11)
Guys, I got this information on A.I sharing with you....hope it will be useful....
 
1866 referals 17 comments, 772 views
Why the pen is mightier than the keyboard: Children who write by hand 'learn better than those...
 
382 referals 10 comments, 205 views
  Neural networks in financial engineering Neural networks have shown considerable successes in...
 
11 referals 2 comments, 319 views
more...  
More From Author
Microsoft recently acquire s Teamprise Assets which enable developers using the Eclipse IDE or operating on multiple operating systems, including Unix, Linux and Mac OS X, to build applications with Microsoft Visual Studio Team Foundation Server.
Hi, AJAX web applications bring a variety of rich user experiences to the web, but often those experiences require downloading a lot of code.  The result is applications that are frustratingly slow to load and taxing to web servers. Today we are...
Hi, Microsoft Announces the preview release of Ajax Library 6. This update includes a bunch of new capabilities and improvements to our client-side AJAX library, and can be used with any version of ASP.NET (including ASP.NET 2.0, 3.5 and 4.0),...
more...