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
f203b8f8
Unverified
Commit
f203b8f8
authored
Sep 24, 2026
by
vercel-fleet-prod[bot]
Committed by
GitHub
Sep 24, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
report
Co-authored-by:
Niklas Mischkulnig
<
4586894+mischnic@users.noreply.github.com
>
parent
f2b544db
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
bench-load.js
turbopack/crates/turbopack-trace-server-wasm/bench-load.js
+13
-9
No files found.
turbopack/crates/turbopack-trace-server-wasm/bench-load.js
View file @
f203b8f8
...
@@ -12,15 +12,19 @@ if (!tracePath) {
...
@@ -12,15 +12,19 @@ if (!tracePath) {
const
trace
=
readFileSync
(
tracePath
)
const
trace
=
readFileSync
(
tracePath
)
new
TurbopackTraceServer
(
trace
,
(
progress
)
=>
{
new
TurbopackTraceServer
(
trace
,
(
progress
)
=>
{
const
line
=
`
${
progress
.
percentage
.
toFixed
(
0
)}
% read (
${(
const
line
=
progress
.
done
?
`Initial read completed (
${
Math
.
floor
(
progress
.
totalBytes
/
1024
/
1024
)}
MB,
${(
progress
.
elapsedMs
/
1000
).
toFixed
(
1
)}
s) -
${
progress
.
stats
}
`
:
`
${
progress
.
percentage
.
toFixed
(
0
)}
% read (
${(
progress
.
bytesRead
/
progress
.
bytesRead
/
1024
/
1024
/
1024
1024
).
toFixed
(
0
)}
/
${(
progress
.
totalBytes
/
1024
/
1024
).
toFixed
(
0
)}
MB,
${
(
).
toFixed
(
0
)}
/
${(
progress
.
totalBytes
/
1024
/
1024
).
toFixed
(
progress
.
bytesPerSecond
/
0
1024
/
)}
MB,
${(
progress
.
bytesPerSecond
/
1024
/
1024
).
toFixed
(
0
)}
MB/s) -
${
1024
progress
.
stats
).
toFixed
(
0
)}
MB/s) -
${
progress
.
stats
}
`
}
`
if
(
process
.
stderr
.
isTTY
)
{
if
(
process
.
stderr
.
isTTY
)
{
process
.
stderr
.
write
(
`\r\x1b[2K
${
line
}${
progress
.
done
?
'
\
n'
:
''
}
`
)
process
.
stderr
.
write
(
`\r\x1b[2K
${
line
}${
progress
.
done
?
'
\
n'
:
''
}
`
)
}
else
{
}
else
{
...
...
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