[ 
https://issues.apache.org/jira/browse/MYFACES-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16362996#comment-16362996
 ] 

Eduardo Breijo commented on MYFACES-4202:
-----------------------------------------

Yeah that's what I'm doing, put a mapping with ClasName, true|false in 
application map.

> [perf] FacesServletMappingUtils.isFacesServlet calls 
> ClassUtils.simpleClassForName on every request
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-4202
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4202
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-372
>    Affects Versions: 2.3.0-beta
>            Reporter: Eduardo Breijo
>            Assignee: Eduardo Breijo
>            Priority: Major
>             Fix For: 2.3.0
>
>
> FacesServletMappingUtils.isFacesServlet is invoked on every request. This 
> means that ClassUtils.simpleClassForName() will also be invoked on every 
> request. We need to cache the boolean value for each servletClassName to 
> improve performance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to