-
Notifications
You must be signed in to change notification settings - Fork 22
Split test generation and optimizations generation into separate methods #957
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 ✨Explore these optional code suggestions:
|
|
@mohammedahmed18 should be good to go now |
|
@mohammedahmed18 any way we can have some sort of unit test that could catch these errors from our CI |
it will be tricky to catch the correct order of the logs, I guess the best way is to manually test it on the extension |
User description
earlier we were doing it all in self.generate_and_instrument_tests which was misleading
PR Type
Enhancement
Description
Split test and optimization generation
Run tests and optimizations in parallel
Adjust return types and error flow
Add dedicated optimization generator
Diagram Walkthrough
File Walkthrough
perform_optimization.py
LSP: parallelize test and optimization executioncodeflash/lsp/features/perform_optimization.py
function_optimizer.py
Decouple and parallelize test and optimization generationcodeflash/optimization/function_optimizer.py