Skip to content

refactor(rust): make js and css chunk have their own unique names - #2564

Merged
hyfdev merged 1 commit into
mainfrom
11-03-refactor_rust_make_js_and_css_chunk_have_their_own_unique_names
Nov 3, 2024
Merged

hyfdev merged 1 commit into
mainfrom
11-03-refactor_rust_make_js_and_css_chunk_have_their_own_unique_names

Conversation

@hyfdev

@hyfdev hyfdev commented Nov 2, 2024 •

Copy link
Copy Markdown
Member

Description

This PR make the js and css chunk not share the same used_name_counts, because they have their own unique extension .js and .css.

hyfdev commented Nov 2, 2024 •

Copy link
Copy Markdown
Member Author

@hyfdev
hyfdev marked this pull request as ready for review November 2, 2024 21:13
@github-actions

github-actions Bot commented Nov 2, 2024 •

Copy link
Copy Markdown
Contributor

Benchmarks Rust

  • target: main(606044b)
  • pr: 11-03-refactor_rust_make_js_and_css_chunk_have_their_own_unique_names(a3d9d73)
group                                                               pr                                     target
-----                                                               --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol                     1.04     65.9±1.17ms        ? ?/sec    1.00     63.4±0.72ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-minify              1.05     94.3±2.00ms        ? ?/sec    1.00     89.8±1.33ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-minify-sourcemap    1.03    107.6±1.40ms        ? ?/sec    1.00    104.6±0.87ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap           1.03     73.5±0.92ms        ? ?/sec    1.00     71.5±1.31ms        ? ?/sec
bundle/bundle@rome-ts                                               1.00    111.7±2.30ms        ? ?/sec    1.01    113.0±1.09ms        ? ?/sec
bundle/bundle@rome-ts-minify                                        1.02    240.2±4.42ms        ? ?/sec    1.00    236.5±5.70ms        ? ?/sec
bundle/bundle@rome-ts-minify-sourcemap                              1.08    294.3±9.56ms        ? ?/sec    1.00    271.5±2.70ms        ? ?/sec
bundle/bundle@rome-ts-sourcemap                                     1.00    125.8±1.29ms        ? ?/sec    1.02    127.7±1.55ms        ? ?/sec
bundle/bundle@threejs                                               1.00     37.9±0.70ms        ? ?/sec    1.04     39.6±1.63ms        ? ?/sec
bundle/bundle@threejs-minify                                        1.00     99.2±2.53ms        ? ?/sec    1.06    105.5±2.42ms        ? ?/sec
bundle/bundle@threejs-minify-sourcemap                              1.00    115.8±1.53ms        ? ?/sec    1.00    116.1±1.13ms        ? ?/sec
bundle/bundle@threejs-sourcemap                                     1.00     46.2±0.33ms        ? ?/sec    1.03     47.8±0.80ms        ? ?/sec
bundle/bundle@threejs10x                                            1.00    391.7±4.79ms        ? ?/sec    1.02    399.0±4.75ms        ? ?/sec
bundle/bundle@threejs10x-minify                                     1.00   1269.9±9.03ms        ? ?/sec    1.00   1273.7±6.93ms        ? ?/sec
bundle/bundle@threejs10x-minify-sourcemap                           1.00   1501.2±8.35ms        ? ?/sec    1.01   1522.8±7.39ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                                  1.00    451.4±4.92ms        ? ?/sec    1.02    462.1±4.85ms        ? ?/sec
remapping/remapping                                                 1.02     28.8±0.66ms        ? ?/sec    1.00     28.2±0.14ms        ? ?/sec
remapping/render-chunk-remapping                                    1.00     69.1±0.26ms        ? ?/sec    1.01     69.6±0.32ms        ? ?/sec
scan/scan@rome-ts                                                   1.02     91.9±1.05ms        ? ?/sec    1.00     89.7±0.68ms        ? ?/sec
scan/scan@threejs                                                   1.05     29.3±1.34ms        ? ?/sec    1.00     28.0±0.22ms        ? ?/sec
scan/scan@threejs10x                                                1.03    292.9±4.15ms        ? ?/sec    1.00    285.8±5.78ms        ? ?/sec

Base automatically changed from 11-03-refactor_rust_test_add_generate_preliminary_filename_and_generate_css_preliminary_filename_ to main November 3, 2024 09:31

hyfdev commented Nov 3, 2024

Copy link
Copy Markdown
Member Author

Merge activity

  • Nov 3, 4:32 AM EST: Graphite disabled "merge when ready" on this PR due to: a merge conflict with the target branch; resolve the conflict and try again..

@hyfdev
hyfdev force-pushed the 11-03-refactor_rust_make_js_and_css_chunk_have_their_own_unique_names branch from b9ba44d to a3d9d73 Compare November 3, 2024 09:58
@netlify

netlify Bot commented Nov 3, 2024

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit a3d9d73
🔍 Latest deploy log https://app.netlify.com/sites/rolldown-rs/deploys/67274940ed709400087f6d9c

@hyfdev
hyfdev added this pull request to the merge queue Nov 3, 2024
Merged via the queue into main with commit a766624 Nov 3, 2024
@hyfdev
hyfdev deleted the 11-03-refactor_rust_make_js_and_css_chunk_have_their_own_unique_names branch November 3, 2024 10:21
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.

2 participants