Skip to content
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

spike: change regex engine #323

Open
Tracked by #33488
stefanhengl opened this issue Apr 6, 2022 · 1 comment
Open
Tracked by #33488

spike: change regex engine #323

stefanhengl opened this issue Apr 6, 2022 · 1 comment

Comments

@stefanhengl
Copy link
Member

Regex dominates our CPU profiles for webserver. The top 10% profiles are almost exclusively regex. Changing from Go's engine to something faster would have big impact on the critical path.

Inspiration:
https://github.com/BurntSushi/rure-go

@keegancsmith
Copy link
Member

Here are notes I took from when we last looked into rure-go (2020-10-21)

This has deployment / devenv issues since rure is written in rust. Requires
compiling rust. Maybe there is a nice way to distribute static objects to link
against in cgo.

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

No branches or pull requests

2 participants