Closed williballenthin closed 2 months ago
@s-ff FYI, this is a small script I've used in the past to help evaluate performance changes to capa. It benchmarks the rule matching phase and shows the number of times each type of feature was evaluated. This enables two things:
For example, API features are evaluated around 2 million times in the above example, while import features are only evaluated twice, so its probably worthwhile to spend more time optimizing API features than import features, if possible.
This is all just background info for you, nothing expected at this time :-)
great!
Output looks like:
which renders to this on Github:
Checklist