Skip to content

#291 causes drastic performance drop in DetectIdentifiers #331

@cpiber

Description

@cpiber

We have around 115 equations on which we call DetectIdentifiers. Before (v2.16.1), this took around 50ms. After the change, it takes 17.1 seconds, all of which is spent in evaluating the regex (of which 50% is spent in Match.AddMatch).

Interestingly, #323 improves this somewhat to 16.7 seconds. In any case, a 330 times slowdown seems a bit excessive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions