Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

lukastaegert
Copy link
Member

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

This resolves some inconsistencies in the type information in the docs and specifies the intermediate stages for chunks and assets more explicitly. It also makes sure to align the type names with the type names in the actual TypeScript types.

Copy link

vercel bot commented Jul 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 13, 2024 4:28am

Copy link

github-actions bot commented Jul 11, 2024

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install rollup/rollup#improve-docs-types

Notice: Ensure you have installed the latest stable Rust toolchain. If you haven't installed it yet, please see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust.

or load it into the REPL:
https://rollup-imfso142u-rollup-js.vercel.app/repl/?pr=5572

Copy link

github-actions bot commented Jul 11, 2024

Performance report!

Rough benchmark

Command Mean [s] Min [s] Max [s] Relative
node _benchmark/previous/bin/rollup -i ./perf/entry.js -o _benchmark/result/previous.js 9.403 ± 0.035 9.369 9.439 1.02 ± 0.01
node _benchmark/current/bin/rollup -i ./perf/entry.js -o _benchmark/result/current.js 9.263 ± 0.088 9.207 9.364 1.00

Internal benchmark

  • BUILD: 8332ms, 748 MB
    • initialize: 0ms, 26 MB
    • generate module graph: 3202ms, 573 MB
      • generate ast: 1496ms (-33ms, -2.2%), 566 MB
    • sort and bind modules: 450ms, 619 MB
    • mark included statements: 4676ms, 748 MB
      • treeshaking pass 1: 1578ms, 715 MB
      • treeshaking pass 2: 771ms, 743 MB
      • treeshaking pass 3: 300ms, 745 MB
      • treeshaking pass 4: 276ms, 740 MB
      • treeshaking pass 5: 321ms, 747 MB
      • treeshaking pass 6: 266ms, 753 MB
      • treeshaking pass 7: 246ms, 748 MB
      • treeshaking pass 8: 238ms, 756 MB
      • treeshaking pass 9: 220ms, 753 MB
      • treeshaking pass 10: 226ms, 752 MB
      • treeshaking pass 11: 220ms, 748 MB
  • GENERATE: 905ms, 1.02 GB
    • initialize render: 0ms, 913 MB
    • generate chunks: 91ms, 916 MB
      • optimize chunks: 0ms, 916 MB
    • render chunks: 790ms, 1 GB
    • transform chunks: 22ms, 1.02 GB
    • generate bundle: 0ms, 1.02 GB

Copy link

codecov bot commented Jul 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.04%. Comparing base (ce8f83c) to head (5a46c16).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5572   +/-   ##
=======================================
  Coverage   99.04%   99.04%           
=======================================
  Files         238      238           
  Lines        9256     9256           
  Branches     2441     2441           
=======================================
  Hits         9168     9168           
  Misses         58       58           
  Partials       30       30           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lukastaegert lukastaegert merged commit 689587d into master Jul 13, 2024
@lukastaegert lukastaegert deleted the improve-docs-types branch July 13, 2024 04:40
Copy link

This PR has been released as part of [email protected]. You can test it via npm install rollup.

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.

1 participant