1 / 15

Analyzing the efficiency of Ajax

Analyzing the efficiency of Ajax. Liang Zhou lz2276@columbia.edu. Evaluation criteria. Bandwidth consumed for the entire task Time spent waiting for data to be transmitted Time spent completing a particular task. Testing. Testing environment

dillian
Download Presentation

Analyzing the efficiency of Ajax

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Analyzing the efficiency of Ajax Liang Zhou lz2276@columbia.edu

  2. Evaluation criteria • Bandwidth consumed for the entire task • Time spent waiting for data to be transmitted • Time spent completing a particular task

  3. Testing • Testing environment A computer with a Intel Pentium M 1700MHZ CPU and 1000MB Memory running Windows XP SP2 as server machine, the client machine is similar. There is one wireless router between these two machines. • Testing tool Microsoft Web Application Stress Tool DynaTrace Ajax Edition

  4. Sample applications

  5. The average number of bytes received in a single request

  6. The average time spent on data transmission

  7. Ajax may slow down the browser • Ajax enable us to fire request off excessively • Many JavaScript running time slow • The DOM operation is known to be slow • Many other JavaScript is slower than Java/c#, and php.

  8. Test result on Google Search

  9. Another issue revealed by the experiment • Ajax enable us to fire request off excessively

  10. Conclusion • Ajax reduced the number of data transmitted • Ajax saved the transmission time remarkably • the use of the Ajax should be on a case by case basis

  11. References • [1] Jesse James Garrett, Ajax: A New Approach to Web Applications, Feb 2005 • [2] David Teare, An introduction to Ajax, Dev2Dev, Aug 2005 • [3] Brett McLaughlin, Mastering Ajax part1, IBM, Dec 2005 • [4] Chris Schalk, A Hype-Free Introduction to Ajax, Oracle, April 2006 • [5] W3shool JavaScript Tutorial • http://www.w3school.com.cn/js/ • [6] Dennis Lembree, Ajax and Web Accessibility, Nov 2008 • [7] W3school Ajax Tutorial • http://www.w3schools.com/ajax/default.asp

More Related