You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (JIRA)" <de...@myfaces.apache.org> on 2018/02/13 18:02:00 UTC
[jira] [Commented] (MYFACES-4202)
FacesServletMappingUtils.isFacesServlet calls ClassUtils.simpleClassForName
on every request
[ https://issues.apache.org/jira/browse/MYFACES-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16362748#comment-16362748 ]
Thomas Andraschko commented on MYFACES-4202:
--------------------------------------------
Good catch!
JFYI: If it's a ticket for performance improvement, we mostly prefix with [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
>
> 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)