Expected NB 6.0 Beta2 Visual Web Application runtime performance boost

As you know Netbeans 6.0 Visual Web application uses Project Woodstock JSF components. There were complains that the pages generated with these components were slow while loading. Woodstock team took a harder look at the possibilities of such poor performance. They identified some of the areas where performance could be improved. After fixing those areas, Woodstock team recently announced up to 20-30% boost in page loading. Here are some announced results.

With the help of Dojo .9 and after merging all JavaScript and CSS files, the load time dropped by 50%. The max number of requests also dropped from 82 to just 17.

Example App Page Dojo .4 Dojo .9 Merged JS and CSS files

Requests Seconds to Load Requests Seconds to Load Requests Seconds to Load
index.jsp 54 8.819 38 5.857 14 4.615
button/Button.jsp 59 4.284 46 3.338 12 2.431
propertysheet/PropertySheet.jsp 79 8.730 67 6.347 17 4.717
table/table.jsp 82 7.400 68 5.477 17 4.109
accordion/example1.jsp 76 5.355 60 4.055 11 2.351
field/TextInput.jsp 54 4.053 45 3.436 12 2.100
calendar/calendar.jsp 69 4.797 54 3.920 12 2.414

You can read more about the announcement at the Woodstock Forum at this message. Since Netbeans 6.0 Beta2 Visual Web would bundle these performance boosted components, you could expect similar performance boost in the Visual Web Application at runtime.

Comments:

Over two seconds for every page to render? I'm puzzled; are we supposed to be cheering?

Posted by guest on October 22, 2007 at 01:12 AM PDT #

It is not about rendering, but about loading from server and rendering. (Refreshing this page blog alone takes about 5-6 secs to fetch the page from server and render it on my laptop in a wireless environment). 50% download time is in idea situation (server and client on the same machine). Loading depends on network latency etc. Looks at the reduction in number of request (82 to 17). Imaging a chocked up network condition and guess how much seconds it would save while fetching the page data from the server and don't forget HTTP is a one connection per request protocol.

Posted by Winston Prakash on October 22, 2007 at 03:37 AM PDT #

50% reduction time may sound good, but in fact there is 400% slowdown of download+render when you compare it to the old J2EE 1.4 / Netbeans 5.5 components.
In my opinion, this kind of performance made VWP completely unusable for industrial application.

Posted by brent on October 28, 2007 at 04:29 PM PDT #

Brent, what kind of components you use in the pages. If you can send me some sample project (to wjprakashATnetbeansDOTorg), I can forward it to the woodstock team to do more analysis.

Posted by Winston Prakash on October 30, 2007 at 12:10 AM PDT #

Hi Mr.Winston,
I use NetBeans6 Beta2,but Woodstock JSF components do not appear on palette of Visual JSF project.
By what operation can I see Woodstock JSF components on palette?

Posted by Sotohiro Terashima on November 10, 2007 at 04:24 PM PST #

Hi Sotohiro, do you see the basic components?. They are the woodstock components.

Posted by Winston Prakash on November 12, 2007 at 12:43 AM PST #

I thought in the Palette,component holder named Woodstock would be created,I understood.
But where are components such as wizard,Accordion,ActionMenu,BubbleHelp,etc..?
Are there any difference about usage of these components in Basic of the same name,when Ajax is not needed?
I installed NetBeans6 Beta2 on many PCs,and on only one PC's palette of component holder named Composite I found Progress Bar,Common Tasks xxx.
By what operation could I install component of Progress Bar,Common Tasks xxx?
What is the difference?

Posted by Sotohiro Terashima on November 12, 2007 at 10:55 AM PST #

Very nice blog ))), very intresting post, wait for continuation
Have you a time to visit my site about
<a href="http://badcreditloanmortgage.totalh.com">bad credit loan mortgage </a>
there a lot of information
or about
<a href="http://freeonlinecasino.totalh.com">free online casino </a>

Posted by bad credit loan mortgage on February 24, 2008 at 05:54 AM PST #

I am new to visual web jsf in netbeans 6.0.

My page having two textbox's one for userid and other one for datetime.whenever user cliks submit button i need to dispaly recods in a table component.

any body can help me how to do this functionality in visual web jsf with netbeans 6.0.

Regards,
Srinivasu

Posted by Sriniivasu on March 02, 2008 at 01:00 PM PST #

Srinivasu, it is very easy to do. Please read the Visual Web tutorials at netbeans.org.

Posted by Winston Prakash on March 03, 2008 at 12:11 AM PST #

I’ve been reading your blog for quite a while. Thank you for sharing your thoughts. It is very useful

Posted by Nadia on April 22, 2008 at 07:52 PM PDT #

We want to upgrade from NB5.5 to NB6.1 the performance on the devlopment side has been outstanding.

The performance on the deployed application is so poor it is a show stopper.

I am having trouble understanding the design decisions made to sacrifice so much performance on the deployed
application side. Does using woodstock allow for ease of use when trying to use AJAX in a component? What features did
we gain to take such a hit on the deployed application? Is there an alternative to achieve better performance on the
deployed application by setting some flags in the page? You asked for an example of what type of components. Are
Pages are generally composed of a propery sheet multiple sections with an average of 6 text fields 2 add removes and 3 drop
down lists. An example with numbers is a page with 38 Properties -15 AddRemove 18 TextField 3 ListBox-. Our numbers show
with firefox we went form 1.58 seconds to 2.49 seconds with IE we went from 1.74 seconds to 4.63 seconds.
Do you predict the performace will ever be optimized to approach the NB5.5 implementation?

Posted by mephillips on May 23, 2008 at 03:29 AM PDT #

Hi mephillips, Woodstock team is continuously working on to improve the page rendering. You can read about it more at https://woodstock.dev.java.net/servlets/ProjectForumMessageView?messageID=23417&forumID=2879.

Also you can get the latest set of components from the Woodstock website.

https://woodstock.dev.java.net/Download.htm

Posted by Winston Prakash on May 23, 2008 at 06:43 AM PDT #

I think, that VWP is great, but is still usable for small applications only, because of performance troubles ...
For example filling a simple table 200 x 20, with nested table 4 x 5 in each row generates a 7Mb html, but using the standard jsf table leads to 0.5Mb. It is obvious that this is a consequence of much more features included into a vwp-table, but there's no need for them in this particular case, just show the table. I've disabled all the features such as filtering, sorting etc, but html is still overloaded with huge js-constructions, such as woodstock4_3.widget.common.createWidget etc.

sorry for bad english

Posted by alex_pinjin on July 14, 2008 at 12:03 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today