-
Notifications
You must be signed in to change notification settings - Fork 22
Faster TestGen (A/B testing branch) (CF-621) #186
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
Here is an optimized version of your program.
**Optimization applied:**
- The `from rich.prompt import Confirm` import has been moved to the top level.
- This avoids re-importing the module every time `ask_for_telemetry()` is called, which saves unnecessary import overhead and speeds up repeated calls.
⚡️ Codeflash found optimizations for this PR📄 14% (0.14x) speedup for
|
User description
Current Test Generation Workflow is relatively slower, with this PR would make it much faster.
PR Type
Documentation
Description
Changes walkthrough 📝
function_optimizer.py
Add A/B testing TODO commentcodeflash/optimization/function_optimizer.py