Closed michael-nml closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 76.52%. Comparing base (
da33807
) to head (246ca35
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The
PerMetricPerColumnResult
filter function has a high overhead for selecting a subset of columns or metrics. This overhead is also incurred (and highest) when only filtering for period, as then all columns & metrics will be selected.This commit adds a short-circuit path to avoid the overhead when only the period requires filtering. For a result with 50 columns and 8 metrics this results in a >100x speed-up when only filtering for period.