Skip to content

NEW @W-21365643@ - Optimize SFGE Path Expansion Rule Performance#2002

Open
nikhil-mittal-165 wants to merge 2 commits intodevfrom
feature/sfge-thread-tuning
Open

NEW @W-21365643@ - Optimize SFGE Path Expansion Rule Performance#2002
nikhil-mittal-165 wants to merge 2 commits intodevfrom
feature/sfge-thread-tuning

Conversation

@nikhil-mittal-165
Copy link

No description provided.

Expose SFGE engine thread configuration as CLI flags on `sf code-analyzer run`
so users can tune performance without editing a config file.

- --sfge-thread-count: overrides java_thread_count (default: 8)
- --sfge-thread-timeout: overrides java_thread_timeout in ms (default: 180000 / 3 min)
- Values flow through RunInput → CodeAnalyzerConfig → SfgeEngine → JVM -D flags
- SfgeEngineOverrides type added to CodeAnalyzerConfigFactory for clean separation
- Flag messages added to run-command.md following existing conventions

Example:
  sf code-analyzer run --rule-selector sfge --workspace ./force-app \
    --sfge-thread-count 8 --sfge-thread-timeout 180000
@nikhil-mittal-165 nikhil-mittal-165 changed the title CHANGE - Add --sfge-thread-count and --sfge-thread-timeout CLI flags NEW @W-21365643@ - Optimize SFGE Path Expansion Rule Performance Mar 6, 2026
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