Skip to content

Turbopack: enable side effects optimization by default in all test cases #82463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 8, 2025

Conversation

sokra
Copy link
Member

@sokra sokra commented Aug 8, 2025

What?

enable side effects optimization by default in all but 2 test cases

Closes PACK-5199

@ijjk ijjk added created-by: Turbopack team PRs by the Turbopack team. Turbopack Related to Turbopack with Next.js. labels Aug 8, 2025
Copy link
Member Author

sokra commented Aug 8, 2025

@sokra sokra marked this pull request as ready for review August 8, 2025 08:53
@sokra sokra requested a review from mischnic August 8, 2025 08:53
@sokra sokra changed the title enable side effects optimization by default in all test cases Turbopack: enable side effects optimization by default in all test cases Aug 8, 2025
Comment on lines 6 to 10
Import trace:
test:
./turbopack/crates/turbopack-tests/tests/execution/turbopack/async-modules/export-all/input/exports.js
./turbopack/crates/turbopack-tests/tests/execution/turbopack/async-modules/export-all/input/tla.js
./turbopack/crates/turbopack-tests/tests/execution/turbopack/async-modules/export-all/input/index.js
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of these are sideeffect-free, but now tla.js is missing from the trace?

@@ -0,0 +1,3 @@
{
"treeShakingMode": null
Copy link
Member Author

@sokra sokra Aug 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disabled as it causes hanging

Copy link

codspeed-hq bot commented Aug 8, 2025

CodSpeed Performance Report

Merging #82463 will not alter performance

Comparing sokra/reexport-only-by-default (ae59420) with canary (3552445)

Summary

✅ 9 untouched benchmarks

Copy link
Member Author

sokra commented Aug 8, 2025

Merge activity

  • Aug 8, 9:35 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Aug 8, 9:35 AM UTC: @sokra merged this pull request with Graphite.

@sokra sokra merged commit 5869543 into canary Aug 8, 2025
167 of 170 checks passed
@sokra sokra deleted the sokra/reexport-only-by-default branch August 8, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
created-by: Turbopack team PRs by the Turbopack team. Turbopack Related to Turbopack with Next.js.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants