You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2015/04/10 02:09:13 UTC
[jira] [Created] (TS-3515) Use pcrejit (Regex class) for regex_map
Bryan Call created TS-3515:
------------------------------
Summary: 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
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)