Skip to content

constellation: Remove broken built-in sampling profiler - #47014

Merged
jschwe merged 5 commits into
servo:mainfrom
lumiscosity:remove-profiler
Aug 5, 2026
Merged

jschwe merged 5 commits into
servo:mainfrom
lumiscosity:remove-profiler

Conversation

@lumiscosity

Copy link
Copy Markdown
Member

As discussed on Zulip, there's no reason to keep this maintained when better profiling solutions exist. The removal includes the code in Servo as well as the tool for converting from this profiler's output to the Firefox profiler.

This includes an embedder API change, since toggling the profiler was exposed to the embedder to make the keybind work.

Companion book PR will be made shortly.

Testing: Manual - it compiles and Ctrl+P no longer does anything

As discussed [on Zulip](https://servo.zulipchat.com/#narrow/channel/263398-general/topic/Poking.20at.20the.20built-in.20sampling.20profiler/with/613859819), there's no reason to keep this maintained when better profiling solutions exist. The removal includes the code in Servo as well as the tool for converting from this profiler's output to the Firefox profiler.

This includes an embedder API change, since toggling the profiler was exposed to the embedder to make the keybind work.

Companion book PR will be made shortly.

Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
@lumiscosity
lumiscosity requested a review from atbrakhi as a code owner August 5, 2026 09:26
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 5, 2026
@lumiscosity lumiscosity changed the title constellation: Remove broken built-in profiler constellation: Remove broken built-in sampling profiler Aug 5, 2026
@jschwe

jschwe commented Aug 5, 2026

Copy link
Copy Markdown
Member

I think HangMonitorAlert::Profile can also be removed now, right?

@lumiscosity

Copy link
Copy Markdown
Member Author

I think HangMonitorAlert::Profile can also be removed now, right?

Good catch, will remove that too.

Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
lumiscosity added a commit to lumiscosity/book that referenced this pull request Aug 5, 2026
Companion to servo/servo#47014. ALso contains a minor wording tweak.

Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
Comment thread components/shared/background_hang_monitor/lib.rs Outdated
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Aug 5, 2026
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 Aug 5, 2026
Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
@jschwe
jschwe added this pull request to the merge queue Aug 5, 2026
@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 Aug 5, 2026
Merged via the queue into servo:main with commit 69de7f3 Aug 5, 2026
33 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 Aug 5, 2026
RichardTjokroutomo pushed a commit to RichardTjokroutomo/servo that referenced this pull request Oct 6, 2026
As discussed [on
Zulip](https://servo.zulipchat.com/#narrow/channel/263398-general/topic/Poking.20at.20the.20built-in.20sampling.20profiler/with/613859819),
there's no reason to keep this maintained when better profiling
solutions exist. The removal includes the code in Servo as well as the
tool for converting from this profiler's output to the Firefox profiler.

This includes an embedder API change, since toggling the profiler was
exposed to the embedder to make the keybind work.

Companion book PR will be made shortly.

Testing: Manual - it compiles and Ctrl+P no longer does anything

---------

Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants