Commit 3b86694
authored
Turbopack: drop ASTs when only tracing (#84185)
These modules are never codgen-ed, so we can drop the AST after the analysis.
```
before:
analyze ecmascript module [project]/packages/next/dist/compiled/babel-packages/packages-bundle.js [externals-tracing] (ecmascript)
Allocated memory: 274.32MB, Deallocated memory: 250.51MB
after:
analyze ecmascript module [project]/packages/next/dist/compiled/babel-packages/packages-bundle.js [externals-tracing] (ecmascript)
Allocated memory: 273.46MB, Deallocated memory: 271.77MB
```1 parent bdd7837 commit 3b86694
1 file changed
+10
-1
lines changedLines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
404 | 408 | | |
405 | 409 | | |
406 | 410 | | |
| |||
575 | 579 | | |
576 | 580 | | |
577 | 581 | | |
578 | | - | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
579 | 588 | | |
580 | 589 | | |
581 | 590 | | |
| |||
0 commit comments