- Notifications
You must be signed in to change notification settings - Fork 22
refactor how async decorators are applied at source site #897
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:
|
User description
this is a superficial refactor, all the logic of the instrumentation for the deco @ call site is the same, my original implementation was awkward, this is in preparation for the synchronous portion;
following up with runtime timings fixes for async
PR Type
Enhancement, Tests
Description
Refactor async decorator application to in-place
Prioritize async throughput in reporting
Include async throughput in PR comments
Adjust thresholds and skip async opt review
Diagram Walkthrough
File Walkthrough
7 files
Lower async throughput improvement threshold to 5%Rewrite async decorator API to write file in-placeAdd async throughput fields to PR JSON reportPrefer throughput for async metrics and PR flow tweaksPass async throughput metrics into PR creationCentralize speedup logic; throughput-aware improvement textRestrict concolic generation to sync functions2 files
Update async tests for in-place instrumentation APIAdapt unit tests to file-writing decorator and temp files