[ 
https://issues.apache.org/jira/browse/WW-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Johno Crawford updated WW-4095:
-------------------------------

    Description: 
Please find attached patch proposal, cuts execution time in half.

Run time compiled regex: 174ms 100000 rounds
Run time runtime regex: 258ms 100000 rounds
Run time compiled regex: 166ms 100000 rounds
Run time runtime regex: 248ms 100000 rounds

  was:Please find attached patch proposal.

    
> cleanupActionName should not compile regex every request
> --------------------------------------------------------
>
>                 Key: WW-4095
>                 URL: https://issues.apache.org/jira/browse/WW-4095
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Actions
>            Reporter: Johno Crawford
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.15
>
>         Attachments: compile_pattern_once.patch
>
>
> Please find attached patch proposal, cuts execution time in half.
> Run time compiled regex: 174ms 100000 rounds
> Run time runtime regex: 258ms 100000 rounds
> Run time compiled regex: 166ms 100000 rounds
> Run time runtime regex: 248ms 100000 rounds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to