- This commit adds a config-option for JIT in libpcre(1). According to research published on https://rust-leipzig.github.io/regex/2017/03/28/comparison-of-regex-engines/ this should give a 10x performance increase on JIT operations which can be desireable for high performance Apache mod_rewrite or haproxy reqrep operations. This option is available on all officially supported architecutres which are listed on https://pcre.org/original/doc/html/pcrejit.html#SEC3. Furthermore, it is enabled by default on the following architectures: arm, i686, x86_64. Signed-off-by: Christian Lachner <gladiac@gmail.com>
11 lines
704 B
Text
11 lines
704 B
Text
config PCRE_JIT_ENABLED
|
|
bool
|
|
depends on PACKAGE_libpcre && (arm || i386 || i686 || x86_64 || mips || mipsel || powerpc || sparc)
|
|
default y if (arm || i686 || x86_64)
|
|
prompt "Enable JIT compiler support"
|
|
help
|
|
Enable JIT (Just-In-Time) compiler support.
|
|
|
|
Enabling this option can give an about 10x performance increase on JIT operations. It can be desireable for e.g. high performance Apache mod_rewrite or HA-Proxy reqrep operations.
|
|
|
|
However, JIT should _only_ be enabled on architectures that are supported. Enabling JIT on unsupported platforms will result in a compilation failure. A list of supported architectures can be found here: https://pcre.org/original/doc/html/pcrejit.html#SEC3 .
|