mariomka / regex-benchmark

It's just a simple regex benchmark of different programming languages.
MIT License
313 stars 57 forks source link

Code and setting optimizations #27

Open mariomka opened 4 years ago

mariomka commented 4 years ago

Hello everyone,

Language/engine features seem to be very controversial and give us a lot of different opinions. Because of that, I have decided to use default settings for every language/engine but I also decided to create a new branch where code and settings optimizations will be allowed. It includes disabling some features (Unicode support for example) or enabling specific mechanics(JIT for example), but the measure, style, and regex patters will be the same.

At this point, we have two benchmarks, the first for comparing default settings and the second to push the benchmark until the limit for this specific scenario.

Results for both benchmarks will be in master readme.

I will work on it the next days but I accept PR for the new branch optimized from now.

mariomka commented 4 years ago

Published optimized version including C PCRE, Rust and C# optimizations. https://github.com/mariomka/regex-benchmark/tree/optimized