- Notifications
You must be signed in to change notification settings - Fork 22
More metrics for determining Optimization Impact #824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
⚡️ Codeflash found optimizations for this PR📄 51% (0.51x) speedup for |
User description
WIP
PR Type
Enhancement, Tests
Description
Add optimization impact plumbing to API
Introduce call analysis AST visitor
Add ripgrep-based code search helper
Extend models with impact metrics
Diagram Walkthrough
File Walkthrough
2 files
Add TODO metrics notes in optimization impact flow
Add example for ripgrep search usage
7 files
Plumb optimizationImpact through suggest_changes payload
Add ripgrep search helper and impact metrics stub
Expose SAFE_GREP_EXECUTABLE via Compat
Define ImpactMetrics dataclass for impact data
Compute optimization impact and attach metrics stub
Forward optimization impact to suggestion API
Implement AST visitor for call and loop detection
1 files
Add tests and demos for call visitor