Skip to content

Conversation

@lumiscosity
Copy link
Contributor

@lumiscosity lumiscosity commented Nov 22, 2025

ProfilerChan now takes an Option<> in order to avoid spawning a channel when unnecessary.

Testing: Manual (-p and --profiler-trace-path options still work with these changes).
Fixes: #40810

Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 22, 2025
Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
@servo-highfive servo-highfive added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Nov 22, 2025
Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Nov 22, 2025
Copy link
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! One less thread is another nice improvement.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 23, 2025
@jdm jdm added this pull request to the merge queue Nov 23, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 23, 2025
Merged via the queue into servo:main with commit fa1c92d Nov 23, 2025
36 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ProfilerChan does unnecessary work when profiling is disabled

3 participants