You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/04/10 02:12:13 UTC

[jira] [Commented] (TS-3515) Use pcrejit (Regex class) for regex_map

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

ASF subversion and git services commented on TS-3515:
-----------------------------------------------------

Commit 2f3251a2e31abcdd6a94d94dc53ddc2457e64d19 in trafficserver's branch refs/heads/master from [~bcall]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=2f3251a ]

TS-3515: Use pcrejit (Regex class) for regex_map


> Use pcrejit (Regex class) for regex_map
> ---------------------------------------
>
>                 Key: TS-3515
>                 URL: https://issues.apache.org/jira/browse/TS-3515
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Bryan Call
>            Assignee: Bryan Call
>             Fix For: 6.0.0
>
>
> Benchmarks I did with pcrejit:
> {code}
> without pcrejit:
> [bcall@homer test_code]$ g++ test_glob_vs_regex.cc -I ../../libraries/include/ -lpcre -O3 && ./a.out
> fnmatch per second: 25,986,512
> pcre greedy per second: 5,194,864
> pcre lazy per second: 8,151,267
> with prcrejit:
> [bcall@homer test_code]$ g++ test_glob_vs_regex.cc -I ../../libraries/include/ -lpcre -O3 && ./a.out
> fnmatch per second: 26,023,707
> pcre greedy per second: 21,399,391
> pcre lazy per second: 30,203,815
> {code}



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