Commit e094d242 authored by Niklas Mischkulnig's avatar Niklas Mischkulnig

remove link spans

parent fc8b2916
......@@ -4,7 +4,6 @@ use anyhow::Result;
use parking_lot::Mutex;
use rustc_hash::{FxHashMap, FxHashSet};
use swc_core::ecma::ast::Id;
use tracing::Instrument;
use super::{JsValue, graph::VarGraph};
......@@ -22,7 +21,8 @@ where
RF: 'a + Future<Output = Result<(JsValue, bool)>> + Send,
F: 'a + Fn(JsValue) -> RF + Sync,
{
let span = tracing::trace_span!("link", steps = tracing::field::Empty);
// use tracing::Instrument;
// let span = tracing::trace_span!("link", steps = tracing::field::Empty);
val.normalize();
let (val, steps) = async {
link_internal_iterative(
......@@ -35,9 +35,9 @@ where
)
.await
}
.instrument(span.clone())
// .instrument(span.clone())
.await?;
span.record("steps", steps);
// span.record("steps", steps);
Ok((val, steps))
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment