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

Make regex matcher timeout configurable #638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 12, 2022

  1. Make regex matcher timeout configurable

    I use chroma to syntax highlight code snippets on my blog. While profiling my
    static blog generator, I noticed that a lot of time was being spent setting up
    the regex timeout watcher: https://alexbakker.me/u/g987wpgo1v.svg.
    
    I'm not exactly sure why it's spending so much time there, but disabling the
    timeout results in a 2x performance improvement in my testing.
    alexbakker committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    ab29907 View commit details
    Browse the repository at this point in the history