Skip to content
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

More experimental bundler fixes #7783

Merged
merged 55 commits into from
May 12, 2022
Merged

Conversation

thebriando
Copy link
Contributor

↪️ Pull Request

Merging the latest series of fixes made to the experimental bundler.

🚨 Test instructions

More integration tests pass 🤷

PARCEL_TEST_EXPERIMENTAL_BUNDLER=1 yarn test:integration test/scope-hoisting.js
5 failing vs 13 failing on v2

PARCEL_TEST_EXPERIMENTAL_BUNDLER=1 yarn test:integration test/javascript.js
25 failing vs 31 failing on v2

✔️ PR Todo

  • Added/updated unit tests for this change
  • Filled out test instructions (In case there aren't any unit tests)

gorakong and others added 25 commits February 8, 2022 18:37
* Traverse each bundle instead of iterating each outbound node
* Add edge between root and bundle
@height
Copy link

height bot commented Mar 2, 2022

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@parcel-benchmark
Copy link

parcel-benchmark commented Mar 2, 2022

Benchmark Results

Kitchen Sink 🚨

Timings

Description Time Difference
Cold FAILED -0.00ms
Cached FAILED -0.00ms

Cold Bundles

No bundles found, this is probably a failed build...

Cached Bundles

No bundles found, this is probably a failed build...

React HackerNews ✅

Timings

Description Time Difference
Cold 8.94s +2.00ms
Cached 448.00ms +3.00ms

Cold Bundles

No bundle changes detected.

Cached Bundles

No bundle changes detected.

AtlasKit Editor ✅

Timings

Description Time Difference
Cold 1.54m -660.00ms
Cached 2.57s +37.00ms

Cold Bundles

Bundle Size Difference Time Difference
dist/index.7a2c2525.js 3.32mb +144.00b ⚠️ 30.17s -279.00ms

Cached Bundles

No bundle changes detected.

Three.js ✅

Timings

Description Time Difference
Cold 6.42s -65.00ms
Cached 273.00ms +6.00ms

Cold Bundles

No bundle changes detected.

Cached Bundles

No bundle changes detected.

Click here to view a detailed benchmark overview.

@wbinnssmith wbinnssmith force-pushed the more-experimental-bundler-fixes branch from 22df351 to a5d9610 Compare March 10, 2022 20:47
@@ -5008,7 +5008,11 @@ describe('scope hoisting', function () {
],
},
{assets: ['dep.js']},
{assets: ['async-has-dep.js', 'dep.js', 'get-dep.js']},
{
assets: process.env.PARCEL_TEST_EXPERIMENTAL_BUNDLER
Copy link
Contributor

Choose a reason for hiding this comment

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

We now share assets between workers, so this is an improvement over the prior bundler.

@devongovett devongovett self-assigned this May 9, 2022
@wbinnssmith wbinnssmith merged commit 38bb2ee into v2 May 12, 2022
@mischnic mischnic deleted the more-experimental-bundler-fixes branch June 7, 2022 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants