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

feat(app): support non entry chunks #5

Draft
wants to merge 4 commits into
base: feat-app-runtime
Choose a base branch
from

Conversation

hi-ogawa
Copy link
Owner

@hi-ogawa hi-ogawa commented Dec 8, 2024

todo

  • dynamic import
  • shared chunk
  • vite fix: support non entry chunks vite#13
    • chunk manifest for ensureChunk
    • update manifest together with hmr
    • ensureChunk for depending shared chunks
    • module runner?

Copy link

github-actions bot commented Dec 8, 2024

Benchmarks Rust

  • target: feat-app-runtime(f97f165)
  • pr: feat-app-non-entry-chunk(fdb7f28)
group                                                               pr                                     target
-----                                                               --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol                     1.04     79.7±2.67ms        ? ?/sec    1.00     76.8±1.15ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-minify              1.00    101.8±2.10ms        ? ?/sec    1.02    103.4±1.81ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-minify-sourcemap    1.00    116.7±1.62ms        ? ?/sec    1.01    117.7±3.18ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap           1.00     86.5±1.10ms        ? ?/sec    1.00     86.2±1.58ms        ? ?/sec
bundle/bundle@rome-ts                                               1.05    137.9±3.32ms        ? ?/sec    1.00    131.1±1.66ms        ? ?/sec
bundle/bundle@rome-ts-minify                                        1.19    258.3±2.62ms        ? ?/sec    1.00    217.0±2.06ms        ? ?/sec
bundle/bundle@rome-ts-minify-sourcemap                              1.17    302.3±4.42ms        ? ?/sec    1.00    258.1±1.87ms        ? ?/sec
bundle/bundle@rome-ts-sourcemap                                     1.03    146.4±1.83ms        ? ?/sec    1.00    142.8±2.95ms        ? ?/sec
bundle/bundle@threejs                                               1.01     39.1±2.25ms        ? ?/sec    1.00     38.7±1.32ms        ? ?/sec
bundle/bundle@threejs-minify                                        1.08     98.3±2.97ms        ? ?/sec    1.00     90.7±1.68ms        ? ?/sec
bundle/bundle@threejs-minify-sourcemap                              1.04    112.8±4.52ms        ? ?/sec    1.00    108.3±4.39ms        ? ?/sec
bundle/bundle@threejs-sourcemap                                     1.01     50.5±0.67ms        ? ?/sec    1.00     50.0±0.96ms        ? ?/sec
bundle/bundle@threejs10x                                            1.03    422.9±5.25ms        ? ?/sec    1.00    410.9±3.64ms        ? ?/sec
bundle/bundle@threejs10x-minify                                     1.02   1130.4±6.93ms        ? ?/sec    1.00   1103.5±7.73ms        ? ?/sec
bundle/bundle@threejs10x-minify-sourcemap                           1.02   1342.1±6.48ms        ? ?/sec    1.00   1319.7±5.58ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                                  1.03    499.2±6.19ms        ? ?/sec    1.00    486.0±3.24ms        ? ?/sec
remapping/remapping                                                 1.01     29.6±0.50ms        ? ?/sec    1.00     29.3±0.41ms        ? ?/sec
remapping/render-chunk-remapping                                    1.00     76.5±0.50ms        ? ?/sec    1.02     77.8±0.44ms        ? ?/sec
scan/scan@rome-ts                                                   1.00     98.9±0.80ms        ? ?/sec    1.06    104.7±1.31ms        ? ?/sec
scan/scan@threejs                                                   1.00     28.7±0.54ms        ? ?/sec    1.02     29.3±1.09ms        ? ?/sec
scan/scan@threejs10x                                                1.00    292.5±2.21ms        ? ?/sec    1.01    295.7±3.49ms        ? ?/sec

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