Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
7f78299c
Unverified
Commit
7f78299c
authored
Jan 20, 2025
by
Niklas Mischkulnig
Committed by
GitHub
Jan 20, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turbopack: don't create span for parallel chunking type (#75094)
parent
69a2d0b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
mod.rs
turbopack/crates/turbopack-core/src/module_graph/mod.rs
+12
-9
No files found.
turbopack/crates/turbopack-core/src/module_graph/mod.rs
View file @
7f78299c
...
@@ -10,7 +10,7 @@ use petgraph::{
...
@@ -10,7 +10,7 @@ use petgraph::{
visit
::{
Dfs
,
EdgeRef
,
IntoNodeReferences
,
VisitMap
,
Visitable
},
visit
::{
Dfs
,
EdgeRef
,
IntoNodeReferences
,
VisitMap
,
Visitable
},
};
};
use
serde
::{
Deserialize
,
Serialize
};
use
serde
::{
Deserialize
,
Serialize
};
use
tracing
::
Instrument
;
use
tracing
::
{
Instrument
,
Span
}
;
use
turbo_rcstr
::
RcStr
;
use
turbo_rcstr
::
RcStr
;
use
turbo_tasks
::{
use
turbo_tasks
::{
debug
::
ValueDebugFormat
,
debug
::
ValueDebugFormat
,
...
@@ -1077,14 +1077,17 @@ impl Visit<SingleModuleGraphBuilderNode> for SingleModuleGraphBuilder<'_> {
...
@@ -1077,14 +1077,17 @@ impl Visit<SingleModuleGraphBuilderNode> for SingleModuleGraphBuilder<'_> {
source_ident
,
source_ident
,
target_ident
,
target_ident
,
..
..
}
=>
{
}
=>
match
chunking_type
{
tracing
::
info_span!
(
ChunkingType
::
Parallel
=>
Span
::
current
(),
"chunkable reference"
,
_
=>
{
ty
=
debug
(
chunking_type
),
tracing
::
info_span!
(
source
=
display
(
source_ident
),
"chunkable reference"
,
target
=
display
(
target_ident
)
ty
=
debug
(
chunking_type
),
)
source
=
display
(
source_ident
),
}
target
=
display
(
target_ident
)
)
}
},
SingleModuleGraphBuilderNode
::
VisitedModule
{
..
}
=>
{
SingleModuleGraphBuilderNode
::
VisitedModule
{
..
}
=>
{
tracing
::
info_span!
(
"visited module"
)
tracing
::
info_span!
(
"visited module"
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment