b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | config PCRE_JIT_ENABLED |
| 2 | bool |
| 3 | depends on PACKAGE_libpcre && (arm || i386 || i686 || x86_64 || mips || mipsel || powerpc || sparc) |
| 4 | default y if (arm || i686 || x86_64) |
| 5 | prompt "Enable JIT compiler support" |
| 6 | help |
| 7 | Enable JIT (Just-In-Time) compiler support. |
| 8 | |
| 9 | 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. |
| 10 | |
| 11 | 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 . |