[pcre-dev] JIT speed tests

Kezdőlap
Üzenet törlése
Szerző: ND
Dátum:  
Címzett: Pcre-dev
Tárgy: [pcre-dev] JIT speed tests
Hi, Zoltan!

I'm start testing JIT and meets two problems:


1. here is pcretest listing

PCRE version 8.33-RC1 2012-12-07

/((((((((((\w{4}aa){4}aa){4}aa){3}aa){4}aa){2}aa){4}aa){3}aa){3}aa){11}aa){3}aa/imsxS+
Compile time 4.0000 milliseconds
Study time 4637.0000 milliseconds
01234567890123456789012345678901234567890123456789012345678901234567890123456789.
Execute time 0.0000 milliseconds
No match

Study time is 4 seconds!!! Wow! It's enormous large!
Is there a way to optimize?


2. Since JIT study time is so large, why there is no possibility to precompile JIT data? Precompiling may be excellent way to expand JIT's sphere of application.

Regards