Performance

The performance of the WFNM framework, in term of how much http session it is automatically able to free, has been measured using the WFNM sample (Struts version) that allows to navigate the following web application:

For each forward navigation, the sample stores into the http session a sample bean of one kilobyte size.

The test has been repeated twice: with the WFNM enabled and with the WFNM disabled.

In both cases, the "webflow" default ownership has been used.

The testing navigation consists of four round trips:

Round tripNavigation path
1a1->a2->b1->b2->b4->d1->d3->a2
2b1->b3->b4->d1->d3->a2
3c1->c2->c4->d2->d3->a2
4c1->c3->c4->d2->d3->a2->a1

The results obtained are showed in the following chart:

Below you can find the statistics details for the Struts version of the sample.

Here you can download the original statistic files:

Note that statistics obtained using the JavaServer Faces version of the sample are similar.

You can download here the WFNM sample and in few minutes you will be able to repeat and verify the performance test.

Statistic details

pageSession size with WFNMSession size without WFNM
/jsp/struts/a1.jsp1466472
/jsp/struts/a2.jsp28281736
/jsp/struts/b1.jsp42603000
/jsp/struts/b2.jsp56224264
/jsp/struts/b4.jsp69845528
/jsp/struts/d1.jsp84166792
/jsp/struts/d3.jsp97788056
/jsp/struts/a2.jsp28288056
/jsp/struts/b1.jsp42608056
/jsp/struts/b3.jsp56229320
/jsp/struts/b4.jsp698410477
/jsp/struts/d1.jsp841610477
/jsp/struts/d3.jsp977810477
/jsp/struts/a2.jsp282810477
/jsp/struts/c1.jsp426011741
/jsp/struts/c2.jsp562213005
/jsp/struts/c4.jsp698414269
/jsp/struts/d2.jsp841615533
/jsp/struts/d3.jsp977816690
/jsp/struts/a2.jsp282816690
/jsp/struts/c1.jsp426016690
/jsp/struts/c3.jsp562217954
/jsp/struts/c4.jsp698419111
/jsp/struts/d2.jsp841619111
/jsp/struts/d3.jsp977819111
/jsp/struts/a2.jsp282819111
/jsp/struts/a1.jsp277119111