gh-149521: Do not update last_profiled_frame if it's not changed#149522
Conversation
|
Excellent catch! |
|
Thanks @maurycy for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
GH-149542 is a backport of this pull request to the 3.15 branch. |
|
|
With the patch applied, the number of
process_vm_writevfor this script:went from 118241 to 2:
Note how
process_vm_readvwent up!Closes #149521
_remote_debugging: no need to updatelast_profiled_frameif no change #149521