Skip to content

investigate optimization of rule matching (May, 2024) #2063

@williballenthin

Description

@williballenthin

As shown in #2061, perhaps 70% of capa runtime is spent evaluating rule logic. That means, if we want to make capa run faster, improvements to the logic evaluation code may have a bigger impact than code analysis changes.

In this thread I'll record findings and ideas for performance enhancements. We can close out this issue when we feel we have a good handle on performance and whether its worthwhile to make changes to capa.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgsocWork related to Google Summer of Code project.performanceRelated to capa's performance

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions