https://github.com/Uiniel/servo/blob/4171bf4b26f5e6b73b8dfbcf397614b9750e47f5/components/shared/profile/generic_callback.rs#L48-L55 This block accumulates time spent executing the callback, but that's not the intended use of the IpcReceiver profiling marker. IpcReceiver is supposed to contain the time spent sitting in blocking recv() calls. Instead, we should return a profile::generic_channell::IpcReceiver from https://github.com/Uiniel/servo/blob/4171bf4b26f5e6b73b8dfbcf397614b9750e47f5/components/shared/profile/generic_callback.rs#L35-L46, and the GenericCallback struct shouldn't store the ProfilerChan at all.
Activity
servo-highfive commentedon Sep 13, 2026
Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in Zulip.
If you intend to work on this issue, then add
@servo-highfive: assign meto your comment, and I'll assign this to you. 😄Please read our policy on AI contributions before getting started.
Uiniel commentedon Sep 13, 2026
@servo-highfive: assign me
Already have a pr prepared that fixes the other half of this issue once #48002 is merged
servo-highfive commentedon Sep 13, 2026
Hey @Uiniel! Thanks for your interest in working on this issue. It's now assigned to you!
profile: stop measuring time spend executing callback in GenericCallb…
profile: stop measuring time spend executing callback in GenericCallb…
profile: stop measuring time spend executing callback in GenericCallb…