From 8f2534f5d91287bf983d02f03be5e1def8d570c7 Mon Sep 17 00:00:00 2001 From: Daniel McNab <36049421+DJMcNab@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:33:34 +0000 Subject: [PATCH] Actually enter the spans --- vello_encoding/src/glyph_cache.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vello_encoding/src/glyph_cache.rs b/vello_encoding/src/glyph_cache.rs index 974ec11f..0ee4ca23 100644 --- a/vello_encoding/src/glyph_cache.rs +++ b/vello_encoding/src/glyph_cache.rs @@ -106,12 +106,13 @@ impl GlyphCache { }); } pub(crate) fn resolve_in_parallel(&mut self) { - tracing::trace_span!("Resolving glyph outlines", count = self.unresolved.len()); + let _span = tracing::info_span!("Resolving glyph outlines", count = self.unresolved.len()) + .entered(); let result = self .unresolved .par_iter() .map_init(HintCache::default, |hint_cache, (coords, glyph, font)| { - tracing::trace_span!("Resolving single glyph"); + let _span = tracing::trace_span!("Resolving single glyph").entered(); ( resolve_single_glyph(hint_cache, coords, glyph, font), coords,