Unix Hosting News & Commentary
My Top 3

}else if (isFast){ fastNodes(count); }else{ slowNodes(count); } } fast loop slow loop

Again, we have a hyperlink to invoke both the fast and the slow function, using the value in an HTML form field as the argument. In this case, it specifies how many little DOM nodes to add to the container. We found 640 to be a reasonable value. The results of a simple test are presented in table 8.2. 296 CHAPTER 8 Performance Table 8.2 Profiling results for DOM node creation Algorithm Number of Page Layouts Execution Time (ms) Original 641 681 Optimized 1 461 Again, the optimization based on received wisdom does make a difference. With our profiler, we can see how much of a difference it is making. In this particular case, we took almost one third off the execution
Searching for affordable and proven webhost to host and run your servlet applications? Go to Linux Web Hosting services and you will find it.

  1. No user reviews yet.


Leave a Reply





Blogroll