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

Don't emit runtime manifest for inline child bundles #6807

Merged
merged 3 commits into from
Aug 30, 2021

Conversation

mischnic
Copy link
Member

AFAICT, only non-inline bundles are registered into the runtime manifest. So including the manifest if there are only inline child bundles doesn't make sense?

Closes #6775

@height
Copy link

height bot commented Aug 29, 2021

Link Height tasks by mentioning a task ID in the pull request title or description, commit messages, or comments.

💡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 Aug 29, 2021

Benchmark Results

Kitchen Sink ✅

Timings

Description Time Difference
Cold 2.08s +81.00ms
Cached 300.00ms -8.00ms

Cold Bundles

Bundle Size Difference Time Difference
dist/legacy/parcel.7cdb0fad.webp 102.94kb +0.00b 657.00ms +577.00ms ⚠️
dist/legacy/parcel.7cdb0fad.webp 102.94kb +0.00b 659.00ms +578.00ms ⚠️
dist/modern/parcel.7cdb0fad.webp 102.94kb +0.00b 658.00ms +577.00ms ⚠️
dist/legacy/index.66850ffd.js 1.54kb +0.00b 943.00ms +56.00ms ⚠️
dist/legacy/index.01f0ce7e.js 1.15kb +0.00b 944.00ms +58.00ms ⚠️
dist/modern/index.0345151f.js 1.08kb +0.00b 943.00ms +57.00ms ⚠️
dist/legacy/index.html 775.00b +0.00b 1.07s -94.00ms 🚀
dist/modern/index.html 715.00b +0.00b 1.07s -94.00ms 🚀

Cached Bundles

Bundle Size Difference Time Difference
dist/legacy/index.66850ffd.js 1.54kb +0.00b 942.00ms +54.00ms ⚠️
dist/legacy/index.6581a6ba.js 1.15kb +0.00b 941.00ms +52.00ms ⚠️
dist/modern/index.eb89329d.js 1.08kb +0.00b 941.00ms +53.00ms ⚠️

React HackerNews ✅

Timings

Description Time Difference
Cold 10.24s +51.00ms
Cached 477.00ms -2.00ms

Cold Bundles

Bundle Size Difference Time Difference
dist/logo.c5bb83f1.png 246.00b +0.00b 4.81s -646.00ms 🚀

Cached Bundles

Bundle Size Difference Time Difference
dist/logo.c5bb83f1.png 246.00b +0.00b 5.64s +831.00ms ⚠️

AtlasKit Editor ✅

Timings

Description Time Difference
Cold 1.16m +170.00ms
Cached 1.62s -24.00ms

Cold Bundles

Bundle Size Difference Time Difference
dist/index.dfd00988.js 1.77mb -6.00b 🚀 20.50s +541.00ms
dist/index.3b0bd2c3.js 694.61kb -15.00b 🚀 53.59s +97.00ms
dist/editorView.47e56904.js 594.90kb +0.00b 53.02s +19.61s ⚠️
dist/popup.c4d0d693.js 209.65kb +0.00b 53.02s +19.61s ⚠️
dist/Toolbar.95d64f6b.js 107.22kb +0.00b 53.02s +19.61s ⚠️
dist/Modal.6c8312b5.js 45.30kb +15.00b ⚠️ 53.02s +19.61s ⚠️
dist/ui.199fd212.js 14.93kb +0.00b 53.02s +19.61s ⚠️
dist/smartMediaEditor.29be60a8.js 13.24kb +0.00b 53.02s +19.61s ⚠️
dist/dropzone.0d183115.js 12.13kb +0.00b 53.02s +19.61s ⚠️
dist/workerHasher.07001132.js 11.81kb +0.00b 39.95s +6.54s ⚠️
dist/media-viewer.141c77cc.js 4.48kb +0.00b 39.95s +6.54s ⚠️
dist/media-viewer.22c1906b.js 3.92kb +0.00b 39.95s +6.54s ⚠️
dist/EmojiPickerComponent.55e0a64c.js 3.71kb +0.00b 53.02s +19.61s ⚠️
dist/dropzone.cf53fd41.js 3.28kb +0.00b 53.02s +19.61s ⚠️
dist/clipboard.969d5ad7.js 2.92kb +0.00b 53.02s +19.61s ⚠️
dist/ResourcedEmojiComponent.78f6ddfc.js 2.10kb +0.00b 53.02s +19.61s ⚠️
dist/card.6492331a.js 2.02kb +0.00b 39.95s +6.54s ⚠️
dist/images.c21e6480.js 1.79kb +0.00b 22.18s +2.22s ⚠️
dist/browser.09200cd5.js 1.68kb +0.00b 53.02s +19.61s ⚠️
dist/list-number.e0420e0c.js 1.58kb +0.00b 22.18s +2.22s ⚠️
dist/status.f223f976.js 1.58kb +0.00b 22.18s +2.22s ⚠️
dist/heading3.33ac6e42.js 1.48kb +0.00b 22.18s +2.19s ⚠️
dist/link.7487dc5e.js 1.42kb +0.00b 22.18s +2.22s ⚠️
dist/emoji.03d3d99b.js 1.34kb +0.00b 22.18s +2.22s ⚠️
dist/heading2.d374048d.js 1.30kb +0.00b 22.18s +2.20s ⚠️
dist/heading4.62b9719b.js 1.25kb +0.00b 22.18s +2.19s ⚠️
dist/mention.37efe6c4.js 1.18kb +0.00b 22.18s +2.22s ⚠️
dist/layout.01a386bd.js 1.16kb +0.00b 22.18s +2.22s ⚠️
dist/Modal.d35ab6da.js 1.15kb +0.00b 39.95s +6.54s ⚠️
dist/heading1.a1828016.js 1.15kb +0.00b 22.18s +2.19s ⚠️
dist/divider.601227e8.js 1.14kb +0.00b 22.18s +2.22s ⚠️
dist/quote.bb9e77b1.js 1.14kb +0.00b 22.18s +2.22s ⚠️
dist/media-card-analytics-error-boundary.75fac461.js 1.10kb +0.00b 53.02s +19.61s ⚠️
dist/decision.9b91a34d.js 1.10kb +0.00b 22.18s +2.22s ⚠️
dist/panel-warning.2ec3e2eb.js 1.10kb +0.00b 22.18s +2.22s ⚠️
dist/list.13abafe4.js 1.07kb +0.00b 22.18s +2.22s ⚠️
dist/panel-error.9e60042f.js 1024.00b +0.00b 22.18s +2.22s ⚠️
dist/panel.d9a0dff6.js 1015.00b +0.00b 22.18s +2.22s ⚠️
dist/table.10221eb5.js 1007.00b +0.00b 22.18s +2.19s ⚠️
dist/panel-success.6b7c55df.js 963.00b +0.00b 22.18s +2.22s ⚠️
dist/panel-note.1f570859.js 959.00b +0.00b 22.18s +2.22s ⚠️
dist/media-picker-analytics-error-boundary.1602c912.js 949.00b +0.00b 53.02s +19.61s ⚠️
dist/simpleHasher.2a6e12b6.js 626.00b +0.00b 53.02s +19.61s ⚠️

Cached Bundles

Bundle Size Difference Time Difference
dist/index.c8659530.js 1.77mb +6.00b ⚠️ 19.93s +268.00ms
dist/index.2f6b614b.js 694.58kb +19.00b ⚠️ 52.95s -296.00ms
dist/Modal.cc71f793.js 45.30kb +15.00b ⚠️ 52.38s -274.00ms

Three.js ✅

Timings

Description Time Difference
Cold 7.20s -110.00ms
Cached 366.00ms -25.00ms 🚀

Cold Bundles

No bundle changes detected.

Cached Bundles

No bundle changes detected.

Click here to view a detailed benchmark overview.

@devongovett
Copy link
Member

Looks like a test is failing?

@mischnic mischnic force-pushed the runtime-manifest-inline branch from 0804b56 to 36d5445 Compare August 29, 2021 20:57
@mischnic
Copy link
Member Author

That was some debug code I accidentally committed

@mischnic mischnic merged commit 68aba46 into v2 Aug 30, 2021
@mischnic mischnic deleted the runtime-manifest-inline branch August 30, 2021 13:21
lettertwo added a commit that referenced this pull request Sep 10, 2021
* v2: (69 commits)
  Use yarnpkg registry for all the things (#6908)
  Fix issue about loading configs from tsconfig.json (#6881)
  Add `@section` to Compressor type (#6885)
  Parcel API improvements (#6866)
  Use stream-browserify for polyfilling instead (#6863)
  Add support for compressor plugins (#6776)
  Support for inline style attributes and inline scripts in SVG (#6797)
  Bump less (#6852)
  Make sure (non-React) SVGs are in separate bundles (#6757)
  Add support for injecting manifest into service workers (#6798)
  Fix 'does not export default' error with scope hoisting and url/worklet pipeline (#6803)
  Remaining cargo clippy fixes (#6829)
  Lazily install sharp only when needed (#6816)
  More cargo clippy suggestions (#6811)
  Don't emit runtime manifest for inline child bundles (#6807)
  Apply suggestions from rust-clippy (#6256)
  Fix add directoryExists function to matchFiles call. (#6784)
  Upgrade to Flow 158 (#6763)
  Revert "added cio headers (#6404)" (#6789)
  Process CSS in SVGs (#6743)
  ...
lettertwo added a commit that referenced this pull request Sep 10, 2021
* v2: (38 commits)
  Use yarnpkg registry for all the things (#6908)
  Fix issue about loading configs from tsconfig.json (#6881)
  Add `@section` to Compressor type (#6885)
  Parcel API improvements (#6866)
  Use stream-browserify for polyfilling instead (#6863)
  Add support for compressor plugins (#6776)
  Support for inline style attributes and inline scripts in SVG (#6797)
  Bump less (#6852)
  Make sure (non-React) SVGs are in separate bundles (#6757)
  Add support for injecting manifest into service workers (#6798)
  Fix 'does not export default' error with scope hoisting and url/worklet pipeline (#6803)
  Remaining cargo clippy fixes (#6829)
  Lazily install sharp only when needed (#6816)
  More cargo clippy suggestions (#6811)
  Don't emit runtime manifest for inline child bundles (#6807)
  Apply suggestions from rust-clippy (#6256)
  Fix add directoryExists function to matchFiles call. (#6784)
  Upgrade to Flow 158 (#6763)
  Revert "added cio headers (#6404)" (#6789)
  Process CSS in SVGs (#6743)
  ...
lettertwo added a commit that referenced this pull request Sep 11, 2021
* bdo/number-edgetypes: (70 commits)
  Use yarnpkg registry for all the things (#6908)
  Fix issue about loading configs from tsconfig.json (#6881)
  Add `@section` to Compressor type (#6885)
  Parcel API improvements (#6866)
  Use stream-browserify for polyfilling instead (#6863)
  Add support for compressor plugins (#6776)
  Support for inline style attributes and inline scripts in SVG (#6797)
  Bump less (#6852)
  Make sure (non-React) SVGs are in separate bundles (#6757)
  Add support for injecting manifest into service workers (#6798)
  Fix 'does not export default' error with scope hoisting and url/worklet pipeline (#6803)
  Remaining cargo clippy fixes (#6829)
  Lazily install sharp only when needed (#6816)
  More cargo clippy suggestions (#6811)
  Don't emit runtime manifest for inline child bundles (#6807)
  Apply suggestions from rust-clippy (#6256)
  Fix add directoryExists function to matchFiles call. (#6784)
  Upgrade to Flow 158 (#6763)
  Revert "added cio headers (#6404)" (#6789)
  Process CSS in SVGs (#6743)
  ...
lettertwo added a commit that referenced this pull request Sep 13, 2021
* v2: (38 commits)
  Use yarnpkg registry for all the things (#6908)
  Fix issue about loading configs from tsconfig.json (#6881)
  Add `@section` to Compressor type (#6885)
  Parcel API improvements (#6866)
  Use stream-browserify for polyfilling instead (#6863)
  Add support for compressor plugins (#6776)
  Support for inline style attributes and inline scripts in SVG (#6797)
  Bump less (#6852)
  Make sure (non-React) SVGs are in separate bundles (#6757)
  Add support for injecting manifest into service workers (#6798)
  Fix 'does not export default' error with scope hoisting and url/worklet pipeline (#6803)
  Remaining cargo clippy fixes (#6829)
  Lazily install sharp only when needed (#6816)
  More cargo clippy suggestions (#6811)
  Don't emit runtime manifest for inline child bundles (#6807)
  Apply suggestions from rust-clippy (#6256)
  Fix add directoryExists function to matchFiles call. (#6784)
  Upgrade to Flow 158 (#6763)
  Revert "added cio headers (#6404)" (#6789)
  Process CSS in SVGs (#6743)
  ...
lettertwo added a commit that referenced this pull request Sep 13, 2021
* bdo/number-edgetypes: (70 commits)
  Use yarnpkg registry for all the things (#6908)
  Fix issue about loading configs from tsconfig.json (#6881)
  Add `@section` to Compressor type (#6885)
  Parcel API improvements (#6866)
  Use stream-browserify for polyfilling instead (#6863)
  Add support for compressor plugins (#6776)
  Support for inline style attributes and inline scripts in SVG (#6797)
  Bump less (#6852)
  Make sure (non-React) SVGs are in separate bundles (#6757)
  Add support for injecting manifest into service workers (#6798)
  Fix 'does not export default' error with scope hoisting and url/worklet pipeline (#6803)
  Remaining cargo clippy fixes (#6829)
  Lazily install sharp only when needed (#6816)
  More cargo clippy suggestions (#6811)
  Don't emit runtime manifest for inline child bundles (#6807)
  Apply suggestions from rust-clippy (#6256)
  Fix add directoryExists function to matchFiles call. (#6784)
  Upgrade to Flow 158 (#6763)
  Revert "added cio headers (#6404)" (#6789)
  Process CSS in SVGs (#6743)
  ...
lettertwo added a commit that referenced this pull request Sep 13, 2021
* v2: (42 commits)
  Remove dead link to docs in diagnostic (#6913)
  Fix engines.parcel in SVG packager (#6911)
  Use imported Readable flow type instead of global (#6910)
  Use non-deprecated SVGO options in HTMLNanoOptimizer (#6785)
  Use yarnpkg registry for all the things (#6908)
  Fix issue about loading configs from tsconfig.json (#6881)
  Add `@section` to Compressor type (#6885)
  Parcel API improvements (#6866)
  Use stream-browserify for polyfilling instead (#6863)
  Add support for compressor plugins (#6776)
  Support for inline style attributes and inline scripts in SVG (#6797)
  Bump less (#6852)
  Make sure (non-React) SVGs are in separate bundles (#6757)
  Add support for injecting manifest into service workers (#6798)
  Fix 'does not export default' error with scope hoisting and url/worklet pipeline (#6803)
  Remaining cargo clippy fixes (#6829)
  Lazily install sharp only when needed (#6816)
  More cargo clippy suggestions (#6811)
  Don't emit runtime manifest for inline child bundles (#6807)
  Apply suggestions from rust-clippy (#6256)
  ...
lettertwo added a commit that referenced this pull request Sep 13, 2021
* v2: (42 commits)
  Remove dead link to docs in diagnostic (#6913)
  Fix engines.parcel in SVG packager (#6911)
  Use imported Readable flow type instead of global (#6910)
  Use non-deprecated SVGO options in HTMLNanoOptimizer (#6785)
  Use yarnpkg registry for all the things (#6908)
  Fix issue about loading configs from tsconfig.json (#6881)
  Add `@section` to Compressor type (#6885)
  Parcel API improvements (#6866)
  Use stream-browserify for polyfilling instead (#6863)
  Add support for compressor plugins (#6776)
  Support for inline style attributes and inline scripts in SVG (#6797)
  Bump less (#6852)
  Make sure (non-React) SVGs are in separate bundles (#6757)
  Add support for injecting manifest into service workers (#6798)
  Fix 'does not export default' error with scope hoisting and url/worklet pipeline (#6803)
  Remaining cargo clippy fixes (#6829)
  Lazily install sharp only when needed (#6816)
  More cargo clippy suggestions (#6811)
  Don't emit runtime manifest for inline child bundles (#6807)
  Apply suggestions from rust-clippy (#6256)
  ...
lettertwo added a commit that referenced this pull request Sep 13, 2021
* bdo/number-edgetypes: (74 commits)
  Remove dead link to docs in diagnostic (#6913)
  Fix engines.parcel in SVG packager (#6911)
  Use imported Readable flow type instead of global (#6910)
  Use non-deprecated SVGO options in HTMLNanoOptimizer (#6785)
  Use yarnpkg registry for all the things (#6908)
  Fix issue about loading configs from tsconfig.json (#6881)
  Add `@section` to Compressor type (#6885)
  Parcel API improvements (#6866)
  Use stream-browserify for polyfilling instead (#6863)
  Add support for compressor plugins (#6776)
  Support for inline style attributes and inline scripts in SVG (#6797)
  Bump less (#6852)
  Make sure (non-React) SVGs are in separate bundles (#6757)
  Add support for injecting manifest into service workers (#6798)
  Fix 'does not export default' error with scope hoisting and url/worklet pipeline (#6803)
  Remaining cargo clippy fixes (#6829)
  Lazily install sharp only when needed (#6816)
  More cargo clippy suggestions (#6811)
  Don't emit runtime manifest for inline child bundles (#6807)
  Apply suggestions from rust-clippy (#6256)
  ...
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.

Parcel 2 increases output size by 12.5x when using export * as x on a bundle-texted file
3 participants