cloudflare / pint

Prometheus rule linter/validator
https://cloudflare.github.io/pint/
Apache License 2.0
880 stars 53 forks source link

Fix fallback message #1140

Closed prymitive closed 1 month ago

github-actions[bot] commented 1 month ago

Benchmark diff:

goos: linux
goarch: amd64
pkg: github.com/cloudflare/pint/cmd/pint
cpu: AMD EPYC 7763 64-Core Processor                
              │   old.txt   │              new.txt               │
              │   sec/op    │   sec/op     vs base               │
FindEntries-4   39.95m ± 6%   40.38m ± 4%       ~ (p=0.075 n=10)
CheckRules-4     8.505 ± 2%    8.528 ± 2%       ~ (p=0.353 n=10)
geomean         582.9m        586.9m       +0.68%

              │   old.txt    │               new.txt               │
              │     B/op     │     B/op      vs base               │
FindEntries-4   27.40Mi ± 0%   27.41Mi ± 0%       ~ (p=0.165 n=10)
CheckRules-4    978.0Mi ± 0%   977.2Mi ± 0%       ~ (p=0.143 n=10)
geomean         163.7Mi        163.7Mi       -0.04%

              │   old.txt   │              new.txt               │
              │  allocs/op  │  allocs/op   vs base               │
FindEntries-4   131.9k ± 0%   131.9k ± 0%       ~ (p=0.419 n=10)
CheckRules-4    14.19M ± 0%   14.19M ± 0%       ~ (p=0.105 n=10)
geomean         1.368M        1.368M       -0.02%
codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.21%. Comparing base (9024afa) to head (439ef91). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1140 +/- ## ========================================== - Coverage 95.21% 95.21% -0.01% ========================================== Files 102 102 Lines 10271 10268 -3 ========================================== - Hits 9780 9777 -3 Misses 344 344 Partials 147 147 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.