Better Existing tests performance reporting#321
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
|
||
| 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.
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