Skip to content

Missing performance comparison with re #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mrabarnett opened this issue May 7, 2018 · 2 comments
Open

Missing performance comparison with re #282

mrabarnett opened this issue May 7, 2018 · 2 comments

Comments

@mrabarnett
Copy link
Owner

Original report by Anonymous.


I got to this project trying to find a re alternative, because for some cases it was running slow.

While reading the documentation I failed to find a performance comparison between re and regex libraries. It would be amazing to have this!

@mrabarnett
Copy link
Owner Author

Original comment by Matthew Barnett (Bitbucket: mrabarnett, GitHub: mrabarnett).


The performance difference depends on what you're doing, so it's not clear how useful it would be in practice.

@mrabarnett
Copy link
Owner Author

Original comment by Andres Riancho (Bitbucket: andresriancho, GitHub: andresriancho).


Well... yes... and no...

A good performance comparison between two libraries would cover 80-90% of the most common use cases of the libraries (in this case it would be different regular expressions, search, match, replace, etc.) and see how both libraries perform.

Examples:
https://rust-leipzig.github.io/regex/2017/03/28/comparison-of-regex-engines/
https://01.org/hyperscan/blogs/jpviiret/2017/performance-analysis-hyperscan-hsbench

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant