tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53713] Performance tuning solution for JspReader
Date Fri, 17 Aug 2012 14:37:54 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53713

--- Comment #8 from Sheldon Shao <xshao@ebay.com> ---
Test case for comparison,

Webapp test/webapp-2.3 New JspReader:529
Webapp test/webapp-2.3 Old JspReader:2256

Webapp test/webapp-2.4 New JspReader:362
Webapp test/webapp-2.4 Old JspReader:1392

Webapp test/webapp-2.5 New JspReader:441
Webapp test/webapp-2.5 Old JspReader:1338

Webapp test/webapp-3.0 New JspReader:9525
Webapp test/webapp-3.0 Old JspReader:26608

Webapp test/webapp-3.0-fragments New JspReader:1416
Webapp test/webapp-3.0-fragments Old JspReader:3417

Webapp test/webapp-3.0-servletsecurity2 New JspReader:406
Webapp test/webapp-3.0-servletsecurity2 Old JspReader:1011

Webapp test/webapp-3.0-virtual-webapp New JspReader:2495
Webapp test/webapp-3.0-virtual-webapp Old JspReader:4935


Here is part of the test case,

                 int count = 1000;
        long start = System.currentTimeMillis();
        for(int i = 0; i < count; i ++) {
            goThroughAllJsp(appDir, true);
        }
        System.out.println("Webapp " + folder + " New JspReader:"
                + (System.currentTimeMillis() - start));
        start = System.currentTimeMillis();
        for(int i = 0; i < count; i ++) {
            goThroughAllJsp(appDir, false);
        }
        System.out.println("Webapp " + folder + " Old JspReader:"
                + (System.currentTimeMillis() - start));

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message