Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add dead code detection #1182

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Add dead code detection #1182

merged 1 commit into from
Oct 31, 2024

Conversation

prymitive
Copy link
Collaborator

No description provided.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request was validated by pint.

✔️ No problems found

Stats

Stat Value
Version v0.67.1-9-gaaea75c
Number of rules parsed 4
Number of rules checked 4
Number of problems found 0
Number of offline checks 0
Number of online checks 0
Checks duration 0

Problems

No problems reported

Copy link

github-actions bot commented Oct 31, 2024

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.56m ± 1%   39.18m ± 2%       ~ (p=0.280 n=10)
CheckRules-4     8.518 ± 2%    8.516 ± 2%       ~ (p=1.000 n=10)
geomean         580.5m        577.7m       -0.48%

              │   old.txt    │               new.txt               │
              │     B/op     │     B/op      vs base               │
FindEntries-4   27.41Mi ± 0%   27.41Mi ± 0%       ~ (p=0.105 n=10)
CheckRules-4    976.1Mi ± 0%   976.2Mi ± 0%       ~ (p=0.853 n=10)
geomean         163.6Mi        163.6Mi       +0.00%

              │   old.txt   │              new.txt               │
              │  allocs/op  │  allocs/op   vs base               │
FindEntries-4   131.9k ± 0%   131.9k ± 0%       ~ (p=0.236 n=10)
CheckRules-4    14.15M ± 0%   14.15M ± 0%       ~ (p=0.796 n=10)
geomean         1.366M        1.366M       -0.00%

@codecov-commenter
Copy link

codecov-commenter commented Oct 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.99%. Comparing base (cfce591) to head (aaea75c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1182      +/-   ##
==========================================
+ Coverage   94.96%   94.99%   +0.02%     
==========================================
  Files         104      104              
  Lines       12499    12559      +60     
==========================================
+ Hits        11870    11930      +60     
  Misses        480      480              
  Partials      149      149              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@prymitive prymitive merged commit e9cce03 into main Oct 31, 2024
20 checks passed
@prymitive prymitive deleted the dead branch October 31, 2024 10:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants