Skip to content

Commit d8575b7

Browse files
sokramischnic
authored andcommitted
Revert "WIP: tracing"
This reverts commit 64ea9ffa489114fa3b3dc4ebe05c3e0a94c39c95.
1 parent 424042c commit d8575b7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

turbopack/crates/turbo-tasks-backend/src/kv_backing_storage.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -542,9 +542,8 @@ fn process_task_data<'a, B: ConcurrentWriteBatch<'a> + Send + Sync>(
542542
let handle = tokio::runtime::Handle::current();
543543
updates
544544
.into_par_iter()
545-
.enumerate()
546545
.with_max_len(1)
547-
.map(|(i, updates)| {
546+
.map(|updates| {
548547
let _span = span.clone().entered();
549548
let _guard = handle.clone().enter();
550549
turbo_tasks_scope(turbo_tasks.clone(), || {
@@ -554,7 +553,6 @@ fn process_task_data<'a, B: ConcurrentWriteBatch<'a> + Send + Sync>(
554553
{
555554
let span = tracing::trace_span!(
556555
"organize updates",
557-
i,
558556
updates = updates.len(),
559557
tasks = tracing::field::Empty
560558
)
@@ -645,7 +643,6 @@ fn process_task_data<'a, B: ConcurrentWriteBatch<'a> + Send + Sync>(
645643
{
646644
let span = tracing::trace_span!(
647645
"dedupe updates",
648-
i,
649646
before = task_updates.len(),
650647
after = tracing::field::Empty
651648
)
@@ -664,7 +661,6 @@ fn process_task_data<'a, B: ConcurrentWriteBatch<'a> + Send + Sync>(
664661

665662
let span = tracing::trace_span!(
666663
"restore, update and serialize",
667-
i,
668664
tasks = task_updates.len(),
669665
restored_tasks = tracing::field::Empty
670666
)

0 commit comments

Comments
 (0)