Skip to content

Commit

Permalink
Docs: Instructions on how to generate turbopack trace file (#64325)
Browse files Browse the repository at this point in the history
Co-authored-by: Balázs Orbán <[email protected]>
  • Loading branch information
delbaoliveira and balazsorban44 authored Apr 11, 2024
1 parent 6224b9e commit 38850bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/04-architecture/turbopack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,9 @@ These features are currently not supported:
- We are currently not planning to support Yarn PnP in Next.js with Turbopack.
- [`experimental.urlImports`](/docs/app/api-reference/next-config-js/urlImports)
- We are currently not planning to support `experimental.urlImports` in Next.js with Turbopack.

## Generating Trace Files

Trace files allow the Next.js team to investigate and improve performance metrics and memory usage. To generate a trace file, append `NEXT_TURBOPACK_TRACING=1` to the `next dev --turbo` command, this will generate a `.next/trace.log` file.

When reporting issues related to Turbopack performance and memory usage, please include the trace file in your [GitHub](https://github.com/vercel/next.js) issue.

0 comments on commit 38850bf

Please sign in to comment.