Skip to content

perf: skip SSA analysis if no analyzers are loaded#1419

Merged
ccojocar merged 1 commit intosecurego:masterfrom
ian-oneleet:skip-analysis-if-no-analyzers
Nov 10, 2025
Merged

perf: skip SSA analysis if no analyzers are loaded#1419
ccojocar merged 1 commit intosecurego:masterfrom
ian-oneleet:skip-analysis-if-no-analyzers

Conversation

@ian-oneleet
Copy link
Contributor

When no Analyzer-based rules are loaded, skip the SSA analysis. This provides a huge performance improvement on a large proprietary codebase, from ~6 minutes to under 30s.

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.43%. Comparing base (1216c9b) to head (7e276d3).
⚠️ Report is 130 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1419      +/-   ##
==========================================
- Coverage   68.49%   64.43%   -4.07%     
==========================================
  Files          75       76       +1     
  Lines        4384     4592     +208     
==========================================
- Hits         3003     2959      -44     
- Misses       1233     1498     +265     
+ Partials      148      135      -13     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ccojocar ccojocar merged commit 8b0d0b8 into securego:master Nov 10, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants