Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Windows can spend CPU on process observations while the browser bridge and Desktop are idle: the native host repeatedly takes a whole-process snapshot to check its parent, and automatic Desktop refreshes repeatedly perform a full runtime observation.
Changes
This is a follow-up to #1447. The earlier native-peer socket fix (
f60cb41) is already merged there and is not included again. This draft contains only the two follow-up commits, cherry-picked without conflicts onto upstream mainf9797dedeb6614cd5255ab1a5ad76d26edca9ae2.Validation and provenance
Historical validation was performed on the original fix branch, before these cherry-picks:
26047cf30cd2babe5521da317f06b6dd7f69627e7fb5463108cb802dbeaa32e557c4493320c3972dFor this draft head,
c39f6b61f8609bad979f33f9079fbdccb91383cf, all 10 changed files have canonical Git blob IDs identical to the corresponding files at the original7fb5463source, including canonicalized working-tree content. The two patches are equivalent to their source commits, andgit diff --checkpassed.No tests or builds were rerun locally on this new base/head. The historical results above are source-change evidence, not new-base integration results. Integration validation is pending PR CI and review; this PR remains a draft.