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

Michael Mikhulya commented on TAP5-2477:
----------------------------------------

We did measurements using tapestry with additional patches, see TAP5-2461 and 
TAP5-2333.
Also we use tomcat with APR Connector to decrease overhead from tomcat.
Without it the gain will be much smaller (in percents).

Anyway we can attach "top consumers" from jvisualvm before and after patch. 
Befor patch PerthreadManagerImpl.getPerthreadMap was the hottest one in 
org.apache.tapestry package.


> Improvement of PerthreadManagerImpl.getPerthreadMap
> ---------------------------------------------------
>
>                 Key: TAP5-2477
>                 URL: https://issues.apache.org/jira/browse/TAP5-2477
>             Project: Tapestry 5
>          Issue Type: Improvement
>            Reporter: Maria Fedotova
>              Labels: patch, perfomance
>         Attachments: TAP5-2477.patch
>
>
> In this patch we removed this code
> {code}
> if (shutdown.get())
>         {
>             return CollectionFactory.newMap();
>         }
> {code}
> And it decreased time per request on 11% (~20ms).
> This patch is  already in our production.
> Thank [~mihasik] for the idea.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to