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

perf: remove module code generation result cache #8624

Closed
wants to merge 1 commit into from
Closed

Conversation

h-a-n-a
Copy link
Collaborator

@h-a-n-a h-a-n-a commented Dec 4, 2024

Summary

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@h-a-n-a

This comment was marked as outdated.

@github-actions github-actions bot added release: performance release: performance related release(mr only) team The issue/pr is created by the member of Rspack. labels Dec 4, 2024
Copy link

netlify bot commented Dec 4, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit e951511
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/6759438435d1900008a1e4cf

@rspack-bot

This comment was marked as outdated.

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 5, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 5, 2024

📝 Benchmark detail: Open

Name Base (2024-12-05 c26a11a) Current Change
10000_big_production-mode_disable-minimize + exec 36.9 s ± 632 ms 36.4 s ± 79 ms -1.30 %
10000_development-mode + exec 1.81 s ± 44 ms 1.75 s ± 33 ms -2.85 %
10000_development-mode_hmr + exec 638 ms ± 7 ms 697 ms ± 22 ms +9.21 %
10000_production-mode + exec 2.34 s ± 47 ms 2.33 s ± 15 ms -0.39 %
arco-pro_development-mode + exec 1.71 s ± 63 ms 1.75 s ± 81 ms +2.44 %
arco-pro_development-mode_hmr + exec 425 ms ± 2.9 ms 425 ms ± 2.5 ms -0.01 %
arco-pro_production-mode + exec 3.12 s ± 67 ms 3.09 s ± 49 ms -0.87 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.18 s ± 59 ms 3.16 s ± 71 ms -0.52 %
threejs_development-mode_10x + exec 1.64 s ± 24 ms 1.59 s ± 20 ms -3.25 %
threejs_development-mode_10x_hmr + exec 806 ms ± 4.8 ms 798 ms ± 15 ms -1.05 %
threejs_production-mode_10x + exec 4.91 s ± 34 ms 4.85 s ± 18 ms -1.22 %
10000_big_production-mode_disable-minimize + rss memory 10152 MiB ± 158 MiB 8207 MiB ± 51.3 MiB -19.16 %
10000_development-mode + rss memory 805 MiB ± 78.1 MiB 725 MiB ± 17.6 MiB -10.04 %
10000_development-mode_hmr + rss memory 1871 MiB ± 197 MiB 1798 MiB ± 388 MiB -3.88 %
10000_production-mode + rss memory 664 MiB ± 33.8 MiB 676 MiB ± 84.9 MiB +1.88 %
arco-pro_development-mode + rss memory 697 MiB ± 36.4 MiB 685 MiB ± 31 MiB -1.61 %
arco-pro_development-mode_hmr + rss memory 890 MiB ± 56.5 MiB 846 MiB ± 41.6 MiB -4.87 %
arco-pro_production-mode + rss memory 808 MiB ± 73.2 MiB 729 MiB ± 39.9 MiB -9.70 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 819 MiB ± 30.7 MiB 767 MiB ± 59.8 MiB -6.43 %
threejs_development-mode_10x + rss memory 768 MiB ± 43.1 MiB 721 MiB ± 61 MiB -6.12 %
threejs_development-mode_10x_hmr + rss memory 1722 MiB ± 324 MiB 1559 MiB ± 299 MiB -9.47 %
threejs_production-mode_10x + rss memory 1088 MiB ± 86.1 MiB 940 MiB ± 42.6 MiB -13.61 %

Threshold exceeded: ["10000_development-mode_hmr + exec"]

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 5, 2024

⬆️ Without CachedSource in module code generation
!bench

@rspack-bot
Copy link

rspack-bot commented Dec 5, 2024

📝 Benchmark detail: Open

Name Base (2024-12-05 c26a11a) Current Change
10000_big_production-mode_disable-minimize + exec 36.9 s ± 632 ms 36.7 s ± 114 ms -0.41 %
10000_development-mode + exec 1.81 s ± 44 ms 1.76 s ± 40 ms -2.36 %
10000_development-mode_hmr + exec 638 ms ± 7 ms 662 ms ± 6.2 ms +3.78 %
10000_production-mode + exec 2.34 s ± 47 ms 2.34 s ± 37 ms -0.10 %
arco-pro_development-mode + exec 1.71 s ± 63 ms 1.73 s ± 65 ms +0.92 %
arco-pro_development-mode_hmr + exec 425 ms ± 2.9 ms 425 ms ± 2.4 ms -0.09 %
arco-pro_production-mode + exec 3.12 s ± 67 ms 3.12 s ± 102 ms +0.17 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.18 s ± 59 ms 3.14 s ± 62 ms -1.19 %
threejs_development-mode_10x + exec 1.64 s ± 24 ms 1.61 s ± 15 ms -1.82 %
threejs_development-mode_10x_hmr + exec 806 ms ± 4.8 ms 790 ms ± 13 ms -2.00 %
threejs_production-mode_10x + exec 4.91 s ± 34 ms 4.89 s ± 35 ms -0.49 %
10000_big_production-mode_disable-minimize + rss memory 10152 MiB ± 158 MiB 10130 MiB ± 62.4 MiB -0.22 %
10000_development-mode + rss memory 805 MiB ± 78.1 MiB 758 MiB ± 29.8 MiB -5.84 %
10000_development-mode_hmr + rss memory 1871 MiB ± 197 MiB 2320 MiB ± 351 MiB +24.01 %
10000_production-mode + rss memory 664 MiB ± 33.8 MiB 692 MiB ± 68.1 MiB +4.23 %
arco-pro_development-mode + rss memory 697 MiB ± 36.4 MiB 669 MiB ± 41.4 MiB -4.04 %
arco-pro_development-mode_hmr + rss memory 890 MiB ± 56.5 MiB 861 MiB ± 133 MiB -3.24 %
arco-pro_production-mode + rss memory 808 MiB ± 73.2 MiB 773 MiB ± 33.7 MiB -4.28 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 819 MiB ± 30.7 MiB 796 MiB ± 39.6 MiB -2.82 %
threejs_development-mode_10x + rss memory 768 MiB ± 43.1 MiB 731 MiB ± 53.5 MiB -4.78 %
threejs_development-mode_10x_hmr + rss memory 1722 MiB ± 324 MiB 1784 MiB ± 340 MiB +3.61 %
threejs_production-mode_10x + rss memory 1088 MiB ± 86.1 MiB 986 MiB ± 65.5 MiB -9.38 %

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 5, 2024

⬆️ Use MapCachedSource only in code generation results

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 5, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 5, 2024

📝 Benchmark detail: Open

Name Base (2024-12-05 c26a11a) Current Change
10000_big_production-mode_disable-minimize + exec 36.9 s ± 632 ms 36.7 s ± 198 ms -0.59 %
10000_development-mode + exec 1.81 s ± 44 ms 1.76 s ± 33 ms -2.75 %
10000_development-mode_hmr + exec 638 ms ± 7 ms 657 ms ± 19 ms +2.93 %
10000_production-mode + exec 2.34 s ± 47 ms 2.32 s ± 23 ms -1.02 %
arco-pro_development-mode + exec 1.71 s ± 63 ms 1.74 s ± 64 ms +1.90 %
arco-pro_development-mode_hmr + exec 425 ms ± 2.9 ms 424 ms ± 2.2 ms -0.34 %
arco-pro_production-mode + exec 3.12 s ± 67 ms 3.1 s ± 59 ms -0.66 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.18 s ± 59 ms 3.16 s ± 82 ms -0.61 %
threejs_development-mode_10x + exec 1.64 s ± 24 ms 1.61 s ± 19 ms -2.09 %
threejs_development-mode_10x_hmr + exec 806 ms ± 4.8 ms 793 ms ± 4.9 ms -1.70 %
threejs_production-mode_10x + exec 4.91 s ± 34 ms 4.87 s ± 35 ms -0.88 %
10000_big_production-mode_disable-minimize + rss memory 10152 MiB ± 158 MiB 10128 MiB ± 56.7 MiB -0.24 %
10000_development-mode + rss memory 805 MiB ± 78.1 MiB 728 MiB ± 61.7 MiB -9.65 %
10000_development-mode_hmr + rss memory 1871 MiB ± 197 MiB 1916 MiB ± 394 MiB +2.42 %
10000_production-mode + rss memory 664 MiB ± 33.8 MiB 681 MiB ± 39.9 MiB +2.59 %
arco-pro_development-mode + rss memory 697 MiB ± 36.4 MiB 642 MiB ± 42.9 MiB -7.88 %
arco-pro_development-mode_hmr + rss memory 890 MiB ± 56.5 MiB 837 MiB ± 102 MiB -5.89 %
arco-pro_production-mode + rss memory 808 MiB ± 73.2 MiB 758 MiB ± 40.9 MiB -6.15 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 819 MiB ± 30.7 MiB 786 MiB ± 31.8 MiB -4.11 %
threejs_development-mode_10x + rss memory 768 MiB ± 43.1 MiB 736 MiB ± 46.1 MiB -4.19 %
threejs_development-mode_10x_hmr + rss memory 1722 MiB ± 324 MiB 1513 MiB ± 354 MiB -12.12 %
threejs_production-mode_10x + rss memory 1088 MiB ± 86.1 MiB 1008 MiB ± 47.4 MiB -7.32 %

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 5, 2024

⬆️ Use MapCachedSource in module code generation results, render manifest and create chunk assets

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 6, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 6, 2024

📝 Benchmark detail: Open

Name Base (2024-12-06 37e17cf) Current Change
10000_big_production-mode_disable-minimize + exec 37 s ± 441 ms 36.9 s ± 349 ms -0.17 %
10000_development-mode + exec 1.78 s ± 32 ms 1.77 s ± 37 ms -0.57 %
10000_development-mode_hmr + exec 637 ms ± 6.1 ms 679 ms ± 9 ms +6.59 %
10000_production-mode + exec 2.33 s ± 34 ms 2.35 s ± 74 ms +0.79 %
arco-pro_development-mode + exec 1.71 s ± 60 ms 1.74 s ± 65 ms +1.67 %
arco-pro_development-mode_hmr + exec 424 ms ± 1.5 ms 424 ms ± 1.7 ms +0.10 %
arco-pro_production-mode + exec 3.11 s ± 93 ms 3.11 s ± 77 ms -0.12 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.17 s ± 49 ms 3.19 s ± 73 ms +0.58 %
threejs_development-mode_10x + exec 1.62 s ± 12 ms 1.61 s ± 24 ms -0.54 %
threejs_development-mode_10x_hmr + exec 785 ms ± 10 ms 787 ms ± 11 ms +0.25 %
threejs_production-mode_10x + exec 4.87 s ± 36 ms 4.91 s ± 16 ms +0.69 %
10000_big_production-mode_disable-minimize + rss memory 10019 MiB ± 41.2 MiB 10035 MiB ± 72.7 MiB +0.16 %
10000_development-mode + rss memory 811 MiB ± 21.7 MiB 774 MiB ± 48.3 MiB -4.58 %
10000_development-mode_hmr + rss memory 1944 MiB ± 427 MiB 2174 MiB ± 269 MiB +11.82 %
10000_production-mode + rss memory 701 MiB ± 23.4 MiB 658 MiB ± 20.9 MiB -6.20 %
arco-pro_development-mode + rss memory 709 MiB ± 28.4 MiB 677 MiB ± 52.2 MiB -4.48 %
arco-pro_development-mode_hmr + rss memory 896 MiB ± 57.1 MiB 881 MiB ± 132 MiB -1.73 %
arco-pro_production-mode + rss memory 822 MiB ± 35 MiB 779 MiB ± 45.1 MiB -5.28 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 828 MiB ± 54 MiB 778 MiB ± 59 MiB -6.02 %
threejs_development-mode_10x + rss memory 789 MiB ± 51 MiB 735 MiB ± 47.2 MiB -6.92 %
threejs_development-mode_10x_hmr + rss memory 1748 MiB ± 170 MiB 1881 MiB ± 271 MiB +7.66 %
threejs_production-mode_10x + rss memory 1117 MiB ± 78.8 MiB 989 MiB ± 81.4 MiB -11.42 %

Threshold exceeded: ["10000_development-mode_hmr + exec"]

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 6, 2024

⬆️ Use MapCachedSource only in code generation results

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 6, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 6, 2024

📝 Benchmark detail: Open

Name Base (2024-12-06 37e17cf) Current Change
10000_big_production-mode_disable-minimize + exec 37 s ± 441 ms 36.6 s ± 103 ms -1.02 %
10000_development-mode + exec 1.78 s ± 32 ms 1.74 s ± 27 ms -2.32 %
10000_development-mode_hmr + exec 637 ms ± 6.1 ms 682 ms ± 6 ms +7.15 %
10000_production-mode + exec 2.33 s ± 34 ms 2.35 s ± 45 ms +0.50 %
arco-pro_development-mode + exec 1.71 s ± 60 ms 1.73 s ± 72 ms +1.06 %
arco-pro_development-mode_hmr + exec 424 ms ± 1.5 ms 425 ms ± 0.94 ms +0.14 %
arco-pro_production-mode + exec 3.11 s ± 93 ms 3.09 s ± 79 ms -0.74 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.17 s ± 49 ms 3.13 s ± 79 ms -1.09 %
threejs_development-mode_10x + exec 1.62 s ± 12 ms 1.59 s ± 21 ms -1.80 %
threejs_development-mode_10x_hmr + exec 785 ms ± 10 ms 805 ms ± 9.8 ms +2.50 %
threejs_production-mode_10x + exec 4.87 s ± 36 ms 4.85 s ± 28 ms -0.41 %
10000_big_production-mode_disable-minimize + rss memory 10019 MiB ± 41.2 MiB 7942 MiB ± 338 MiB -20.73 %
10000_development-mode + rss memory 811 MiB ± 21.7 MiB 688 MiB ± 18.6 MiB -15.18 %
10000_development-mode_hmr + rss memory 1944 MiB ± 427 MiB 1466 MiB ± 348 MiB -24.61 %
10000_production-mode + rss memory 701 MiB ± 23.4 MiB 651 MiB ± 37.2 MiB -7.10 %
arco-pro_development-mode + rss memory 709 MiB ± 28.4 MiB 627 MiB ± 42.7 MiB -11.57 %
arco-pro_development-mode_hmr + rss memory 896 MiB ± 57.1 MiB 814 MiB ± 49.9 MiB -9.19 %
arco-pro_production-mode + rss memory 822 MiB ± 35 MiB 770 MiB ± 43.8 MiB -6.36 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 828 MiB ± 54 MiB 767 MiB ± 50.9 MiB -7.38 %
threejs_development-mode_10x + rss memory 789 MiB ± 51 MiB 721 MiB ± 45.5 MiB -8.63 %
threejs_development-mode_10x_hmr + rss memory 1748 MiB ± 170 MiB 1174 MiB ± 190 MiB -32.82 %
threejs_production-mode_10x + rss memory 1117 MiB ± 78.8 MiB 936 MiB ± 58.2 MiB -16.19 %

Threshold exceeded: ["10000_development-mode_hmr + exec"]

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 6, 2024

⬆️ disable any cached source type

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 9, 2024

!bench

@rspack-bot
Copy link

⏳ Triggered benchmark: Open

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 9, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 9, 2024

📝 Benchmark detail: Open

Name Base (2024-12-09 8646ecf) Current Change
10000_big_production-mode_disable-minimize + exec 37.1 s ± 157 ms 48.7 s ± 515 ms +31.10 %
10000_development-mode + exec 1.79 s ± 24 ms 1.87 s ± 42 ms +4.44 %
10000_development-mode_hmr + exec 648 ms ± 16 ms 731 ms ± 9.6 ms +12.88 %
10000_production-mode + exec 2.34 s ± 25 ms 2.5 s ± 69 ms +6.94 %
arco-pro_development-mode + exec 1.77 s ± 83 ms 1.77 s ± 76 ms +0.03 %
arco-pro_development-mode_hmr + exec 424 ms ± 1.3 ms 426 ms ± 1.1 ms +0.45 %
arco-pro_production-mode + exec 3.15 s ± 86 ms 3.37 s ± 102 ms +6.74 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.14 s ± 78 ms 3.37 s ± 60 ms +7.30 %
threejs_development-mode_10x + exec 1.62 s ± 29 ms 1.7 s ± 19 ms +4.95 %
threejs_development-mode_10x_hmr + exec 781 ms ± 11 ms 898 ms ± 16 ms +15.02 %
threejs_production-mode_10x + exec 4.86 s ± 38 ms 5.45 s ± 32 ms +11.96 %
10000_big_production-mode_disable-minimize + rss memory 9774 MiB ± 22.1 MiB 9996 MiB ± 135 MiB +2.27 %
10000_development-mode + rss memory 815 MiB ± 36 MiB 711 MiB ± 29.3 MiB -12.68 %
10000_development-mode_hmr + rss memory 2094 MiB ± 254 MiB 1568 MiB ± 301 MiB -25.12 %
10000_production-mode + rss memory 696 MiB ± 26.9 MiB 723 MiB ± 55.8 MiB +3.97 %
arco-pro_development-mode + rss memory 718 MiB ± 28.2 MiB 657 MiB ± 23.2 MiB -8.50 %
arco-pro_development-mode_hmr + rss memory 914 MiB ± 105 MiB 822 MiB ± 65.3 MiB -10.09 %
arco-pro_production-mode + rss memory 785 MiB ± 48.6 MiB 813 MiB ± 82.7 MiB +3.67 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 814 MiB ± 50.1 MiB 822 MiB ± 66 MiB +0.98 %
threejs_development-mode_10x + rss memory 789 MiB ± 45.3 MiB 733 MiB ± 45.2 MiB -7.04 %
threejs_development-mode_10x_hmr + rss memory 1728 MiB ± 255 MiB 1394 MiB ± 146 MiB -19.32 %
threejs_production-mode_10x + rss memory 1146 MiB ± 82.1 MiB 1156 MiB ± 79.1 MiB +0.83 %

Threshold exceeded: ["10000_big_production-mode_disable-minimize + exec","10000_development-mode_hmr + exec","10000_production-mode + exec","arco-pro_production-mode + exec","arco-pro_production-mode_generate-package-json-webpack-plugin + exec","threejs_development-mode_10x_hmr + exec","threejs_production-mode_10x + exec"]

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 9, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 9, 2024

📝 Benchmark detail: Open

Name Base (2024-12-09 8646ecf) Current Change
10000_big_production-mode_disable-minimize + exec 37.1 s ± 157 ms 41.2 s ± 540 ms +10.82 %
10000_development-mode + exec 1.79 s ± 24 ms 1.81 s ± 29 ms +1.27 %
10000_development-mode_hmr + exec 648 ms ± 16 ms 797 ms ± 12 ms +23.00 %
10000_production-mode + exec 2.34 s ± 25 ms 2.4 s ± 38 ms +2.79 %
arco-pro_development-mode + exec 1.77 s ± 83 ms 1.72 s ± 59 ms -3.25 %
arco-pro_development-mode_hmr + exec 424 ms ± 1.3 ms 428 ms ± 2.3 ms +0.86 %
arco-pro_production-mode + exec 3.15 s ± 86 ms 3.21 s ± 53 ms +1.67 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.14 s ± 78 ms 3.28 s ± 91 ms +4.27 %
threejs_development-mode_10x + exec 1.62 s ± 29 ms 1.64 s ± 27 ms +1.30 %
threejs_development-mode_10x_hmr + exec 781 ms ± 11 ms 1.01 s ± 4.8 ms +29.90 %
threejs_production-mode_10x + exec 4.86 s ± 38 ms 5.15 s ± 28 ms +5.85 %
10000_big_production-mode_disable-minimize + rss memory 9774 MiB ± 22.1 MiB 9856 MiB ± 157 MiB +0.84 %
10000_development-mode + rss memory 815 MiB ± 36 MiB 731 MiB ± 63.5 MiB -10.30 %
10000_development-mode_hmr + rss memory 2094 MiB ± 254 MiB 1499 MiB ± 235 MiB -28.41 %
10000_production-mode + rss memory 696 MiB ± 26.9 MiB 700 MiB ± 35.3 MiB +0.66 %
arco-pro_development-mode + rss memory 718 MiB ± 28.2 MiB 646 MiB ± 25.5 MiB -9.99 %
arco-pro_development-mode_hmr + rss memory 914 MiB ± 105 MiB 774 MiB ± 20.3 MiB -15.39 %
arco-pro_production-mode + rss memory 785 MiB ± 48.6 MiB 755 MiB ± 53.4 MiB -3.72 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 814 MiB ± 50.1 MiB 777 MiB ± 52.5 MiB -4.59 %
threejs_development-mode_10x + rss memory 789 MiB ± 45.3 MiB 712 MiB ± 58.5 MiB -9.74 %
threejs_development-mode_10x_hmr + rss memory 1728 MiB ± 255 MiB 1405 MiB ± 174 MiB -18.67 %
threejs_production-mode_10x + rss memory 1146 MiB ± 82.1 MiB 1072 MiB ± 59.1 MiB -6.50 %

Threshold exceeded: ["10000_big_production-mode_disable-minimize + exec","10000_development-mode_hmr + exec","threejs_development-mode_10x_hmr + exec","threejs_production-mode_10x + exec"]

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 10, 2024

!bench

@rspack-bot
Copy link

⏳ Triggered benchmark: Open

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 10, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 10, 2024

📝 Benchmark detail: Open

Name Base (2024-12-10 222d040) Current Change
10000_big_production-mode_disable-minimize + exec 36.9 s ± 120 ms 37.6 s ± 81 ms +1.80 %
10000_development-mode + exec 1.78 s ± 20 ms 1.78 s ± 25 ms -0.11 %
10000_development-mode_hmr + exec 647 ms ± 14 ms 770 ms ± 17 ms +19.08 %
10000_production-mode + exec 2.33 s ± 30 ms 2.37 s ± 62 ms +1.60 %
arco-pro_development-mode + exec 1.76 s ± 72 ms 1.75 s ± 80 ms -0.54 %
arco-pro_development-mode_hmr + exec 424 ms ± 3.7 ms 427 ms ± 1.2 ms +0.62 %
arco-pro_production-mode + exec 3.12 s ± 83 ms 3.2 s ± 100 ms +2.63 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.15 s ± 67 ms 3.3 s ± 44 ms +4.81 %
threejs_development-mode_10x + exec 1.61 s ± 17 ms 1.61 s ± 17 ms -0.53 %
threejs_development-mode_10x_hmr + exec 787 ms ± 15 ms 943 ms ± 17 ms +19.75 %
threejs_production-mode_10x + exec 4.87 s ± 42 ms 5.09 s ± 25 ms +4.42 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.16 s ± 75 ms 3.23 s ± 60 ms +2.15 %
10000_big_production-mode_disable-minimize + rss memory 9801 MiB ± 45.3 MiB 9825 MiB ± 36.7 MiB +0.25 %
10000_development-mode + rss memory 814 MiB ± 15.8 MiB 713 MiB ± 21.8 MiB -12.37 %
10000_development-mode_hmr + rss memory 1931 MiB ± 377 MiB 1556 MiB ± 316 MiB -19.42 %
10000_production-mode + rss memory 694 MiB ± 34.6 MiB 668 MiB ± 55.1 MiB -3.66 %
arco-pro_development-mode + rss memory 712 MiB ± 43.5 MiB 633 MiB ± 32.9 MiB -10.99 %
arco-pro_development-mode_hmr + rss memory 914 MiB ± 82.9 MiB 856 MiB ± 77.7 MiB -6.39 %
arco-pro_production-mode + rss memory 825 MiB ± 49 MiB 764 MiB ± 57.5 MiB -7.40 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 827 MiB ± 66.8 MiB 792 MiB ± 27.4 MiB -4.17 %
threejs_development-mode_10x + rss memory 771 MiB ± 62.4 MiB 713 MiB ± 53 MiB -7.49 %
threejs_development-mode_10x_hmr + rss memory 1644 MiB ± 353 MiB 1325 MiB ± 130 MiB -19.41 %
threejs_production-mode_10x + rss memory 1122 MiB ± 48 MiB 1029 MiB ± 70 MiB -8.25 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 811 MiB ± 45.8 MiB 783 MiB ± 48.2 MiB -3.44 %

Threshold exceeded: ["10000_development-mode_hmr + exec","threejs_development-mode_10x_hmr + exec"]

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 10, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 10, 2024

📝 Benchmark detail: Open

Name Base (2024-12-10 222d040) Current Change
10000_big_production-mode_disable-minimize + exec 36.9 s ± 120 ms 37.8 s ± 477 ms +2.50 %
10000_development-mode + exec 1.78 s ± 20 ms 1.77 s ± 18 ms -0.56 %
10000_development-mode_hmr + exec 647 ms ± 14 ms 722 ms ± 16 ms +11.63 %
10000_production-mode + exec 2.33 s ± 30 ms 2.36 s ± 25 ms +1.26 %
arco-pro_development-mode + exec 1.76 s ± 72 ms 1.75 s ± 109 ms -0.40 %
arco-pro_development-mode_hmr + exec 424 ms ± 3.7 ms 426 ms ± 0.91 ms +0.29 %
arco-pro_production-mode + exec 3.12 s ± 83 ms 3.21 s ± 84 ms +2.98 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.15 s ± 67 ms 3.25 s ± 78 ms +3.30 %
threejs_development-mode_10x + exec 1.61 s ± 17 ms 1.61 s ± 23 ms -0.01 %
threejs_development-mode_10x_hmr + exec 787 ms ± 15 ms 882 ms ± 5.3 ms +12.06 %
threejs_production-mode_10x + exec 4.87 s ± 42 ms 5.09 s ± 27 ms +4.37 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.16 s ± 75 ms 3.19 s ± 65 ms +1.16 %
10000_big_production-mode_disable-minimize + rss memory 9801 MiB ± 45.3 MiB 9801 MiB ± 55.9 MiB +0.01 %
10000_development-mode + rss memory 814 MiB ± 15.8 MiB 730 MiB ± 42.1 MiB -10.22 %
10000_development-mode_hmr + rss memory 1931 MiB ± 377 MiB 1560 MiB ± 357 MiB -19.23 %
10000_production-mode + rss memory 694 MiB ± 34.6 MiB 676 MiB ± 36.3 MiB -2.57 %
arco-pro_development-mode + rss memory 712 MiB ± 43.5 MiB 638 MiB ± 39.7 MiB -10.36 %
arco-pro_development-mode_hmr + rss memory 914 MiB ± 82.9 MiB 819 MiB ± 93.4 MiB -10.40 %
arco-pro_production-mode + rss memory 825 MiB ± 49 MiB 772 MiB ± 49.4 MiB -6.37 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 827 MiB ± 66.8 MiB 763 MiB ± 34.7 MiB -7.66 %
threejs_development-mode_10x + rss memory 771 MiB ± 62.4 MiB 716 MiB ± 42.9 MiB -7.16 %
threejs_development-mode_10x_hmr + rss memory 1644 MiB ± 353 MiB 1277 MiB ± 312 MiB -22.35 %
threejs_production-mode_10x + rss memory 1122 MiB ± 48 MiB 1044 MiB ± 54.6 MiB -6.91 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 811 MiB ± 45.8 MiB 772 MiB ± 27.5 MiB -4.73 %

Threshold exceeded: ["10000_development-mode_hmr + exec","threejs_development-mode_10x_hmr + exec"]

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 10, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 10, 2024

📝 Benchmark detail: Open

Name Base (2024-12-10 222d040) Current Change
10000_big_production-mode_disable-minimize + exec 36.9 s ± 120 ms 37.7 s ± 409 ms +2.10 %
10000_development-mode + exec 1.78 s ± 20 ms 1.77 s ± 21 ms -0.36 %
10000_development-mode_hmr + exec 647 ms ± 14 ms 720 ms ± 14 ms +11.31 %
10000_production-mode + exec 2.33 s ± 30 ms 2.37 s ± 35 ms +1.63 %
arco-pro_development-mode + exec 1.76 s ± 72 ms 1.75 s ± 68 ms -0.73 %
arco-pro_development-mode_hmr + exec 424 ms ± 3.7 ms 425 ms ± 1 ms +0.18 %
arco-pro_production-mode + exec 3.12 s ± 83 ms 3.18 s ± 70 ms +2.05 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.15 s ± 67 ms 3.22 s ± 55 ms +2.22 %
threejs_development-mode_10x + exec 1.61 s ± 17 ms 1.61 s ± 12 ms +0.05 %
threejs_development-mode_10x_hmr + exec 787 ms ± 15 ms 871 ms ± 11 ms +10.60 %
threejs_production-mode_10x + exec 4.87 s ± 42 ms 5.07 s ± 20 ms +4.01 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.16 s ± 75 ms 3.18 s ± 54 ms +0.64 %
10000_big_production-mode_disable-minimize + rss memory 9801 MiB ± 45.3 MiB 9832 MiB ± 72.1 MiB +0.32 %
10000_development-mode + rss memory 814 MiB ± 15.8 MiB 720 MiB ± 36.1 MiB -11.47 %
10000_development-mode_hmr + rss memory 1931 MiB ± 377 MiB 1525 MiB ± 368 MiB -21.04 %
10000_production-mode + rss memory 694 MiB ± 34.6 MiB 681 MiB ± 24.8 MiB -1.85 %
arco-pro_development-mode + rss memory 712 MiB ± 43.5 MiB 639 MiB ± 27.4 MiB -10.20 %
arco-pro_development-mode_hmr + rss memory 914 MiB ± 82.9 MiB 822 MiB ± 79.8 MiB -10.06 %
arco-pro_production-mode + rss memory 825 MiB ± 49 MiB 779 MiB ± 68.1 MiB -5.54 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 827 MiB ± 66.8 MiB 791 MiB ± 66.7 MiB -4.28 %
threejs_development-mode_10x + rss memory 771 MiB ± 62.4 MiB 734 MiB ± 47.8 MiB -4.76 %
threejs_development-mode_10x_hmr + rss memory 1644 MiB ± 353 MiB 1303 MiB ± 209 MiB -20.78 %
threejs_production-mode_10x + rss memory 1122 MiB ± 48 MiB 1022 MiB ± 77.2 MiB -8.87 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 811 MiB ± 45.8 MiB 785 MiB ± 36.2 MiB -3.18 %

Threshold exceeded: ["10000_development-mode_hmr + exec","threejs_development-mode_10x_hmr + exec"]

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 10, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 10, 2024

📝 Benchmark detail: Open

Name Base (2024-12-10 222d040) Current Change
10000_big_production-mode_disable-minimize + exec 36.9 s ± 120 ms 37.7 s ± 527 ms +2.06 %
10000_development-mode + exec 1.78 s ± 20 ms 1.78 s ± 18 ms -0.06 %
10000_development-mode_hmr + exec 647 ms ± 14 ms 696 ms ± 8.1 ms +7.63 %
10000_production-mode + exec 2.33 s ± 30 ms 2.36 s ± 24 ms +1.15 %
arco-pro_development-mode + exec 1.76 s ± 72 ms 1.77 s ± 82 ms +0.31 %
arco-pro_development-mode_hmr + exec 424 ms ± 3.7 ms 425 ms ± 4.2 ms +0.25 %
arco-pro_production-mode + exec 3.12 s ± 83 ms 3.18 s ± 77 ms +2.16 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.15 s ± 67 ms 3.25 s ± 65 ms +3.09 %
threejs_development-mode_10x + exec 1.61 s ± 17 ms 1.63 s ± 25 ms +1.02 %
threejs_development-mode_10x_hmr + exec 787 ms ± 15 ms 854 ms ± 8.4 ms +8.45 %
threejs_production-mode_10x + exec 4.87 s ± 42 ms 5.04 s ± 19 ms +3.55 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.16 s ± 75 ms 3.24 s ± 103 ms +2.50 %
10000_big_production-mode_disable-minimize + rss memory 9801 MiB ± 45.3 MiB 9894 MiB ± 144 MiB +0.95 %
10000_development-mode + rss memory 814 MiB ± 15.8 MiB 789 MiB ± 19.3 MiB -3.04 %
10000_development-mode_hmr + rss memory 1931 MiB ± 377 MiB 1844 MiB ± 379 MiB -4.50 %
10000_production-mode + rss memory 694 MiB ± 34.6 MiB 691 MiB ± 35.8 MiB -0.31 %
arco-pro_development-mode + rss memory 712 MiB ± 43.5 MiB 687 MiB ± 34 MiB -3.45 %
arco-pro_development-mode_hmr + rss memory 914 MiB ± 82.9 MiB 923 MiB ± 112 MiB +0.94 %
arco-pro_production-mode + rss memory 825 MiB ± 49 MiB 814 MiB ± 74.8 MiB -1.29 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 827 MiB ± 66.8 MiB 811 MiB ± 77 MiB -1.89 %
threejs_development-mode_10x + rss memory 771 MiB ± 62.4 MiB 778 MiB ± 45 MiB +0.93 %
threejs_development-mode_10x_hmr + rss memory 1644 MiB ± 353 MiB 1594 MiB ± 344 MiB -3.07 %
threejs_production-mode_10x + rss memory 1122 MiB ± 48 MiB 1105 MiB ± 74.7 MiB -1.48 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 811 MiB ± 45.8 MiB 792 MiB ± 43.9 MiB -2.25 %

Threshold exceeded: ["10000_development-mode_hmr + exec","threejs_development-mode_10x_hmr + exec"]

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 10, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 10, 2024

📝 Benchmark detail: Open

Name Base (2024-12-10 222d040) Current Change
10000_big_production-mode_disable-minimize + exec 36.9 s ± 120 ms 37.9 s ± 532 ms +2.68 %
10000_development-mode + exec 1.78 s ± 20 ms 1.81 s ± 31 ms +1.74 %
10000_development-mode_hmr + exec 647 ms ± 14 ms 704 ms ± 8.1 ms +8.83 %
10000_production-mode + exec 2.33 s ± 30 ms 2.38 s ± 55 ms +1.99 %
arco-pro_development-mode + exec 1.76 s ± 72 ms 1.73 s ± 40 ms -1.88 %
arco-pro_development-mode_hmr + exec 424 ms ± 3.7 ms 425 ms ± 1.4 ms +0.14 %
arco-pro_production-mode + exec 3.12 s ± 83 ms 3.19 s ± 61 ms +2.43 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.15 s ± 67 ms 3.22 s ± 75 ms +2.33 %
threejs_development-mode_10x + exec 1.61 s ± 17 ms 1.62 s ± 22 ms +0.19 %
threejs_development-mode_10x_hmr + exec 787 ms ± 15 ms 856 ms ± 13 ms +8.68 %
threejs_production-mode_10x + exec 4.87 s ± 42 ms 5.04 s ± 29 ms +3.46 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.16 s ± 75 ms 3.24 s ± 100 ms +2.64 %
10000_big_production-mode_disable-minimize + rss memory 9801 MiB ± 45.3 MiB 9807 MiB ± 50.3 MiB +0.06 %
10000_development-mode + rss memory 814 MiB ± 15.8 MiB 724 MiB ± 63.5 MiB -11.05 %
10000_development-mode_hmr + rss memory 1931 MiB ± 377 MiB 1515 MiB ± 376 MiB -21.53 %
10000_production-mode + rss memory 694 MiB ± 34.6 MiB 669 MiB ± 22.3 MiB -3.55 %
arco-pro_development-mode + rss memory 712 MiB ± 43.5 MiB 635 MiB ± 34.9 MiB -10.82 %
arco-pro_development-mode_hmr + rss memory 914 MiB ± 82.9 MiB 832 MiB ± 29.4 MiB -9.02 %
arco-pro_production-mode + rss memory 825 MiB ± 49 MiB 772 MiB ± 43.5 MiB -6.47 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 827 MiB ± 66.8 MiB 782 MiB ± 40.5 MiB -5.36 %
threejs_development-mode_10x + rss memory 771 MiB ± 62.4 MiB 725 MiB ± 40.1 MiB -6.00 %
threejs_development-mode_10x_hmr + rss memory 1644 MiB ± 353 MiB 1390 MiB ± 95 MiB -15.45 %
threejs_production-mode_10x + rss memory 1122 MiB ± 48 MiB 1011 MiB ± 50 MiB -9.88 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 811 MiB ± 45.8 MiB 794 MiB ± 72 MiB -1.99 %

Threshold exceeded: ["10000_development-mode_hmr + exec","threejs_development-mode_10x_hmr + exec"]

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 10, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 10, 2024

📝 Benchmark detail: Open

Name Base (2024-12-10 222d040) Current Change
10000_big_production-mode_disable-minimize + exec 36.9 s ± 120 ms 37.8 s ± 499 ms +2.27 %
10000_development-mode + exec 1.78 s ± 20 ms 1.81 s ± 20 ms +1.41 %
10000_development-mode_hmr + exec 647 ms ± 14 ms 670 ms ± 8.4 ms +3.65 %
10000_production-mode + exec 2.33 s ± 30 ms 2.38 s ± 30 ms +2.07 %
arco-pro_development-mode + exec 1.76 s ± 72 ms 1.75 s ± 85 ms -0.70 %
arco-pro_development-mode_hmr + exec 424 ms ± 3.7 ms 424 ms ± 2.6 ms -0.14 %
arco-pro_production-mode + exec 3.12 s ± 83 ms 3.17 s ± 45 ms +1.64 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.15 s ± 67 ms 3.23 s ± 54 ms +2.41 %
threejs_development-mode_10x + exec 1.61 s ± 17 ms 1.61 s ± 18 ms -0.25 %
threejs_development-mode_10x_hmr + exec 787 ms ± 15 ms 807 ms ± 8.7 ms +2.46 %
threejs_production-mode_10x + exec 4.87 s ± 42 ms 5.06 s ± 38 ms +3.86 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.16 s ± 75 ms 3.22 s ± 52 ms +1.99 %
10000_big_production-mode_disable-minimize + rss memory 9801 MiB ± 45.3 MiB 9813 MiB ± 64 MiB +0.12 %
10000_development-mode + rss memory 814 MiB ± 15.8 MiB 714 MiB ± 30.4 MiB -12.25 %
10000_development-mode_hmr + rss memory 1931 MiB ± 377 MiB 1463 MiB ± 425 MiB -24.25 %
10000_production-mode + rss memory 694 MiB ± 34.6 MiB 679 MiB ± 35.7 MiB -2.07 %
arco-pro_development-mode + rss memory 712 MiB ± 43.5 MiB 659 MiB ± 78.9 MiB -7.36 %
arco-pro_development-mode_hmr + rss memory 914 MiB ± 82.9 MiB 820 MiB ± 118 MiB -10.37 %
arco-pro_production-mode + rss memory 825 MiB ± 49 MiB 769 MiB ± 41.6 MiB -6.77 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 827 MiB ± 66.8 MiB 775 MiB ± 56.2 MiB -6.26 %
threejs_development-mode_10x + rss memory 771 MiB ± 62.4 MiB 694 MiB ± 43.7 MiB -10.02 %
threejs_development-mode_10x_hmr + rss memory 1644 MiB ± 353 MiB 1302 MiB ± 250 MiB -20.81 %
threejs_production-mode_10x + rss memory 1122 MiB ± 48 MiB 1046 MiB ± 73.1 MiB -6.71 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 811 MiB ± 45.8 MiB 782 MiB ± 51.7 MiB -3.58 %

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 11, 2024

!bench

@rspack-bot
Copy link

rspack-bot commented Dec 11, 2024

📝 Benchmark detail: Open

Name Base (2024-12-11 6a5b766) Current Change
10000_big_production-mode_disable-minimize + exec 37.6 s ± 447 ms 38.4 s ± 622 ms +2.19 %
10000_development-mode + exec 1.79 s ± 22 ms 1.79 s ± 23 ms -0.02 %
10000_development-mode_hmr + exec 659 ms ± 21 ms 687 ms ± 34 ms +4.32 %
10000_production-mode + exec 2.33 s ± 29 ms 2.37 s ± 31 ms +1.67 %
arco-pro_development-mode + exec 1.76 s ± 82 ms 1.74 s ± 99 ms -0.83 %
arco-pro_development-mode_hmr + exec 424 ms ± 1.1 ms 424 ms ± 0.78 ms +0.12 %
arco-pro_production-mode + exec 3.13 s ± 79 ms 3.21 s ± 104 ms +2.59 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.15 s ± 56 ms 3.27 s ± 73 ms +3.81 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.11 s ± 78 ms 3.22 s ± 77 ms +3.56 %
threejs_development-mode_10x + exec 1.61 s ± 18 ms 1.62 s ± 18 ms +0.58 %
threejs_development-mode_10x_hmr + exec 785 ms ± 21 ms 806 ms ± 9.1 ms +2.67 %
threejs_production-mode_10x + exec 4.87 s ± 23 ms 5.06 s ± 38 ms +3.90 %
10000_big_production-mode_disable-minimize + rss memory 9699 MiB ± 36.6 MiB 9919 MiB ± 387 MiB +2.27 %
10000_development-mode + rss memory 836 MiB ± 66.1 MiB 790 MiB ± 31.9 MiB -5.44 %
10000_development-mode_hmr + rss memory 1925 MiB ± 184 MiB 1949 MiB ± 408 MiB +1.25 %
10000_production-mode + rss memory 712 MiB ± 54.4 MiB 691 MiB ± 30 MiB -2.89 %
arco-pro_development-mode + rss memory 721 MiB ± 27.3 MiB 689 MiB ± 33.6 MiB -4.44 %
arco-pro_development-mode_hmr + rss memory 927 MiB ± 73 MiB 902 MiB ± 115 MiB -2.76 %
arco-pro_production-mode + rss memory 829 MiB ± 65.1 MiB 797 MiB ± 35 MiB -3.85 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 801 MiB ± 26.3 MiB 831 MiB ± 44.9 MiB +3.78 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 832 MiB ± 51.2 MiB 797 MiB ± 57.4 MiB -4.20 %
threejs_development-mode_10x + rss memory 768 MiB ± 34.8 MiB 772 MiB ± 45.4 MiB +0.55 %
threejs_development-mode_10x_hmr + rss memory 1585 MiB ± 286 MiB 1580 MiB ± 298 MiB -0.32 %
threejs_production-mode_10x + rss memory 1104 MiB ± 60.4 MiB 1128 MiB ± 80.3 MiB +2.14 %

@h-a-n-a
Copy link
Collaborator Author

h-a-n-a commented Dec 11, 2024

!bench

@h-a-n-a h-a-n-a closed this Dec 11, 2024
@rspack-bot
Copy link

⏳ Triggered benchmark: Open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: performance release: performance related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants