canonical / hotsos

Software analysis toolkit. Define checks in high-level language and leverage library to perform analysis of common Cloud applications.
Apache License 2.0
33 stars 38 forks source link

Improve performance of event categorisation #862

Closed dosaboy closed 6 months ago

dosaboy commented 6 months ago

The EventProcessingUtils code is used to tally search results but in doing so was looping through event search results multiple times. For large result sets this was very inefficient so this patch reduces the amount of times we walk the results.