Skip to content

Add --no-cache option to analyse command - #507

Merged
samsonasik merged 2 commits into
mainfrom
feat-no-cache
Oct 18, 2026
Merged

samsonasik merged 2 commits into
mainfrom
feat-no-cache

Conversation

@samsonasik

@samsonasik samsonasik commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Allow to disable caching via --no-cache on analyze command to speed up one-off run on huge codebase.

Running:

vendor/bin/structarmed analyze --no-cache

bencmarked below:

Project Empty cache --no-cache
Magento (21k files) 4.38–4.54 s 3.16–3.25 s (about βˆ’28%)
WordPress (3.2k files) 1.49–1.55 s 1.36–1.46 s
PSL (1.2k files) 0.45–0.49 s 0.40–0.43 s

@samsonasik samsonasik added this to the 0.20.0 milestone Oct 18, 2026
@codecov

codecov Bot commented Oct 18, 2026

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.

πŸ“’ Thoughts on this report? Let us know!

@samsonasik
samsonasik merged commit 6371fad into main Oct 18, 2026
14 checks passed
@samsonasik
samsonasik deleted the feat-no-cache branch October 18, 2026 04:52
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.

1 participant