Closed ghemawat closed 4 months ago
Attention: Patch coverage is 93.33333%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 67.02%. Comparing base (
0ed6a68
) to head (a99a299
). Report is 30 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
internal/report/report.go | 90.90% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Previously, we used to call report.TextItems() during flame graph generation just so we could get a hand on the legend to print in the profile details box. All the work done by TextItems() to produce a trimmed graph was discarded.
This change separates out the legend generation into a separate routine so that we can avoid doing the unnecessary work.
Benchmark result: