tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49613] Request.getAttributeNames() slows down some applications
Date Mon, 19 Jul 2010 10:41:32 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49613

--- Comment #2 from Sampo Savolainen <v2@iki.fi> 2010-07-19 06:41:28 EDT ---
Application frameworks like MyFaces use attributes while rendering a page.
Tomcat reads all SSL connector attributes for every call to
getAttributeNames(). This creates a large number of calls to
getAttributeNames(). The current 6.0.x implementation is very slow as it does
not recognize it has already read the SSL specific attributes. 

I will attach a patch which uses an object boolean field to determine whether
the SSL attributes have already been read or not. The speedup to the profiled
application is 10x.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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