-
Notifications
You must be signed in to change notification settings - Fork 22
Better Existing tests performance reporting #321
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:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
|
||
| if matching_original_times and matching_optimized_times: | ||
| original_time = min(matching_original_times) | ||
| optimized_time = min(matching_optimized_times) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check for optimized_time or original_time = 0
|
@misrasaurabh1 ready to merge |
|
This is how the PR would look like - #347 |
PR Type
Enhancement, Tests
Description
Include timing info in existing tests report
Group existing tests by test file
Pass test results in function optimizer
Add tests for existing_tests_source_for
Changes walkthrough 📝
function_optimizer.py
Update optimize_function to pass test resultscodeflash/optimization/function_optimizer.py
existing_tests_source_forcall into optimization branchTestResultsparameterscreate_pr.py
Extend existing_tests_source_for with timingcodeflash/result/create_pr.py
original_test_resultsandoptimized_test_resultsparamstest_existing_tests_source_for.py
Add comprehensive tests for existing_tests_source_fortests/test_existing_tests_source_for.py
format_timecalls