Don't trace SystemFontService loop (#34508)

Most of the time here is spent blocking on the channel,
and after we received the message we already have a new span.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
Jonathan Schwender 2024-12-06 18:05:18 +01:00 committed by GitHub
parent 4ddbdc61a3
commit 92f758af9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -145,10 +145,6 @@ impl SystemFontService {
SystemFontServiceProxySender(sender)
}
#[cfg_attr(
feature = "tracing",
tracing::instrument(skip_all, fields(servo_profiling = true), level = "trace")
)]
fn run(&mut self) {
loop {
let msg = self.port.recv().unwrap();