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

Add @section to Compressor type #6885

Merged
merged 1 commit into from Sep 6, 2021
Merged

Add @section to Compressor type #6885

merged 1 commit into from Sep 6, 2021

Conversation

mischnic
Copy link
Member

@mischnic mischnic commented Sep 6, 2021

This is used to generated the "Relevant API" section like here: https://v2.parceljs.org/plugin-system/optimizer/ (which is currently missing for compressors)

@height
Copy link

height bot commented Sep 6, 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

Benchmark Results

Kitchen Sink ✅

Timings

Description Time Difference
Cold 1.74s -62.00ms
Cached 262.00ms -49.00ms 🚀

Cold Bundles

Bundle Size Difference Time Difference
dist/legacy/parcel.7cdb0fad.webp 102.94kb +0.00b 534.00ms +457.00ms ⚠️
dist/legacy/parcel.7cdb0fad.webp 102.94kb +0.00b 535.00ms +457.00ms ⚠️
dist/modern/parcel.7cdb0fad.webp 102.94kb +0.00b 534.00ms +456.00ms ⚠️
dist/legacy/index.66850ffd.js 1.59kb +0.00b 745.00ms -38.00ms 🚀
dist/modern/index.65a4b415.js 1.13kb +0.00b 744.00ms -39.00ms 🚀
dist/legacy/index.html 826.00b +0.00b 840.00ms -185.00ms 🚀
dist/modern/index.html 749.00b +0.00b 840.00ms -184.00ms 🚀
dist/legacy/index.5ba75694.css 94.00b +0.00b 968.00ms -79.00ms 🚀
dist/modern/index.14235cd8.css 94.00b +0.00b 967.00ms -79.00ms 🚀

Cached Bundles

Bundle Size Difference Time Difference
dist/legacy/parcel.7cdb0fad.webp 102.94kb +0.00b 522.00ms -44.00ms 🚀
dist/legacy/parcel.7cdb0fad.webp 102.94kb +0.00b 523.00ms -44.00ms 🚀
dist/modern/parcel.7cdb0fad.webp 102.94kb +0.00b 523.00ms -43.00ms 🚀
dist/legacy/index.66850ffd.js 1.59kb +0.00b 740.00ms -43.00ms 🚀
dist/legacy/index.9106df33.js 1.20kb +0.00b 740.00ms -43.00ms 🚀
dist/modern/index.65a4b415.js 1.13kb +0.00b 741.00ms -42.00ms 🚀

React HackerNews ✅

Timings

Description Time Difference
Cold 9.62s -636.00ms 🚀
Cached 432.00ms -42.00ms 🚀

Cold Bundles

Bundle Size Difference Time Difference
dist/index.js 487.00kb +0.00b 5.23s -429.00ms 🚀
dist/PermalinkedComment.e846300d.js 4.20kb +0.00b 5.23s -427.00ms 🚀
dist/UserProfile.a136423a.js 1.57kb +0.00b 5.23s -427.00ms 🚀
dist/NotFound.a7537975.js 429.00b +0.00b 5.23s -428.00ms 🚀
dist/logo.c5bb83f1.png 246.00b +0.00b 5.18s -433.00ms 🚀

Cached Bundles

Bundle Size Difference Time Difference
dist/index.js 487.00kb +0.00b 5.06s -393.00ms 🚀
dist/PermalinkedComment.e846300d.js 4.20kb +0.00b 5.06s -392.00ms 🚀
dist/UserProfile.a136423a.js 1.57kb +0.00b 5.06s -392.00ms 🚀
dist/NotFound.a7537975.js 429.00b +0.00b 5.06s -392.00ms 🚀
dist/logo.c5bb83f1.png 246.00b +0.00b 5.03s -352.00ms 🚀

AtlasKit Editor ✅

Timings

Description Time Difference
Cold 1.06m +860.00ms
Cached 1.55s -171.00ms 🚀

Cold Bundles

Bundle Size Difference Time Difference
dist/index.29369c04.js 1.78mb +2.00b ⚠️ 17.83s +355.00ms
dist/index.f3ce51c1.js 694.69kb +4.00b ⚠️ 48.23s +211.00ms
dist/Modal.6b391db0.js 45.31kb +15.00b ⚠️ 47.74s +256.00ms
dist/heading4.62b9719b.js 1.27kb +0.00b 29.71s +10.80s ⚠️

Cached Bundles

Bundle Size Difference Time Difference
dist/index.98728e22.js 1.78mb -6.00b 🚀 17.77s -683.00ms
dist/pdfRenderer.84ca975d.js 1.11mb +0.00b 47.18s -2.76s 🚀
dist/index.7ed0e080.js 694.69kb +4.00b ⚠️ 47.14s -2.76s 🚀
dist/editorView.a454d79e.js 594.92kb +0.00b 46.71s -2.72s 🚀
dist/popup.127ee2e1.js 209.67kb +0.00b 46.71s -2.72s 🚀
dist/EmojiPickerComponent.4c901171.js 146.67kb +0.00b 29.17s -1.75s 🚀
dist/index.f9757ae7.js 145.75kb +0.00b 47.14s -2.76s 🚀
dist/Toolbar.d49a05ed.js 107.23kb +0.00b 46.71s -2.72s 🚀
dist/media-viewer.15dc96ec.js 74.93kb +0.00b 47.18s -2.76s 🚀
dist/card.0d97fc6c.js 62.67kb +0.00b 47.14s -2.76s 🚀
dist/card.9812046b.js 60.71kb +0.00b 47.18s -2.76s 🚀
dist/Modal.2d72cbc8.js 45.33kb +0.00b 46.71s -2.71s 🚀
dist/esm.c0384d9b.js 33.15kb +0.00b 29.17s -1.75s 🚀
dist/DatePicker.71055ac0.js 22.98kb +0.00b 29.17s -1.75s 🚀
dist/js.0f0bb621.js 17.25kb +0.00b 46.71s -2.72s 🚀
dist/ui.30a0b59b.js 14.94kb +0.00b 46.71s -2.71s 🚀
dist/smartMediaEditor.9202bc37.js 13.25kb +0.00b 46.71s -2.72s 🚀
dist/dropzone.0d183115.js 12.15kb +0.00b 46.71s -2.72s 🚀
dist/workerHasher.07001132.js 11.83kb +0.00b 35.44s -1.88s 🚀
dist/index.674a2896.js 6.18kb +0.00b 47.18s -2.76s 🚀
dist/card.45f850d6.js 5.77kb +0.00b 47.14s -2.76s 🚀
dist/media-viewer.141c77cc.js 4.50kb +0.00b 35.44s -1.88s 🚀
dist/media-viewer.22c1906b.js 3.93kb +0.00b 35.44s -1.87s 🚀
dist/EmojiPickerComponent.55e0a64c.js 3.73kb +0.00b 46.71s -2.72s 🚀
dist/png-chunks-extract.94b5b9fc.js 3.58kb +0.00b 46.72s -2.71s 🚀
dist/index.57b81618.css 3.47kb +0.00b 47.34s -2.77s 🚀
dist/dropzone.cf53fd41.js 3.29kb +0.00b 46.71s -2.72s 🚀
dist/Modal.7f4c60b3.js 3.15kb +0.00b 47.14s -2.76s 🚀
dist/clipboard.969d5ad7.js 2.93kb +0.00b 46.71s -2.72s 🚀
dist/ResourcedEmojiComponent.78f6ddfc.js 2.12kb +0.00b 46.71s -2.71s 🚀
dist/card.6492331a.js 2.04kb +0.00b 35.44s -1.87s 🚀
dist/feedback.e18b45f0.js 1.77kb +0.00b 29.16s -1.75s 🚀
dist/browser.09200cd5.js 1.69kb +0.00b 46.71s -2.72s 🚀
dist/workerHasher.567cfc57.js 1.63kb +0.00b 29.17s -1.75s 🚀
dist/workerHasher.ca25f4e9.js 1.63kb +0.00b 47.18s -2.76s 🚀
dist/heading6.b3b946d1.js 1.51kb +0.00b 29.16s -1.75s 🚀
dist/heading5.e617db66.js 1.38kb +0.00b 29.16s -1.75s 🚀
dist/expand.1f17de7f.js 1.29kb +0.00b 29.16s -1.75s 🚀
dist/Modal.d35ab6da.js 1.16kb +0.00b 35.44s -1.88s 🚀
dist/media-card-analytics-error-boundary.75fac461.js 1.12kb +0.00b 46.71s -2.72s 🚀
dist/media-picker-analytics-error-boundary.cfe02cc6.js 966.00b +0.00b 46.71s -2.72s 🚀
dist/media-viewer-analytics-error-boundary.5e13c40c.js 966.00b +0.00b 47.18s -2.76s 🚀
dist/media-card-analytics-error-boundary.b1a780f3.js 962.00b +0.00b 47.14s -2.76s 🚀
dist/media-card-analytics-error-boundary.6f876fa2.js 962.00b +0.00b 47.18s -2.76s 🚀
dist/simpleHasher.2a6e12b6.js 643.00b +0.00b 46.71s -2.72s 🚀
dist/simpleHasher.85f7361e.js 643.00b +0.00b 47.18s -2.76s 🚀
dist/index.html 386.00b +0.00b 47.21s -2.78s 🚀

Three.js ✅

Timings

Description Time Difference
Cold 7.01s -426.00ms 🚀
Cached 397.00ms -15.00ms

Cold Bundles

No bundle changes detected.

Cached Bundles

No bundle changes detected.

Click here to view a detailed benchmark overview.

@devongovett devongovett merged commit 0f99998 into v2 Sep 6, 2021
@devongovett devongovett deleted the compressor-api branch September 6, 2021 15:48
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.

None yet

3 participants