[ https://issues.apache.org/jira/browse/TS-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780321#action_12780321 ]
Manjesh Nilange commented on TS-48: ----------------------------------- I ran a simple rudimentary performance test where in a match a set of 10 strings of the form http://a#.subdom1.subdom2.subdom3.yahoo.com/path.php (where # went from 1 to 10) and matched the set 10k times against the regex "http://a([a-z0-9])+.subdom1.subdom2.subdom3.yahoo.com/(.*)". Over many runs, the POSIX matching took an average of 0.86 seconds and the PCRE matching too 0.07 seconds (in user time). So it looks like PCRE is well over 10x faster than POSIX for this use case. > Change all regex code to use PCRE > --------------------------------- > > Key: TS-48 > URL: https://issues.apache.org/jira/browse/TS-48 > Project: Traffic Server > Issue Type: Improvement > Components: Core > Affects Versions: 2.0a > Reporter: Leif Hedstrom > > We are adding some new regex stuff into TS 2.0, using PCRE, so we should > examine all existing regex features, and unify on PCRE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.