Skip to content

fix(deps): upgrade mimalloc#13944

Draft
hardfist wants to merge 1 commit into
mainfrom
codex/disable-mimalloc-thp
Draft

fix(deps): upgrade mimalloc#13944
hardfist wants to merge 1 commit into
mainfrom
codex/disable-mimalloc-thp

Conversation

@hardfist
Copy link
Copy Markdown
Contributor

@hardfist hardfist commented May 8, 2026

Summary

related to #13942
Upgrade mimalloc from 0.1.48 to 0.1.50.

This also removes the stale v3 feature usage from rspack_allocator and rspack_benchmark. mimalloc 0.1.50 no longer exposes that feature; it already vendors mimalloc v3.

This PR intentionally does not change mimalloc runtime defaults such as allow_thp, arena_purge_mult, purge_delay, or disallow_arena_alloc.

Binding RSS Investigation

The observed regression is from the binding ecosystem benchmark, not the Rust benchmark. The benchmark samples the Node.js process RSS via process.memoryUsage().rss after the native .node binding runs a build.

The RSS increase is not caused by a v3.3.1 arena purge behavior change relative to v3.3.0. The relevant arena purge defaults and main purge path are effectively the same between v3.3.0 and v3.3.1:

  • purge_delay = 1000ms
  • arena_purge_mult = 1
  • arena purge delay is still purge_delay * arena_purge_mult
  • with THP enabled, arena purge still uses the large OS page size as the minimal purge granularity

The root cause is the larger allocator policy change from mimalloc v3.1.5 to v3.3.x, combined with the binding benchmark's sampling point:

  • mimalloc 0.1.48 vendors mimalloc v3.1.5; mimalloc 0.1.50 vendors mimalloc v3.3.1.
  • v3.3.x enables mimalloc's large page size class by default (MI_ENABLE_LARGE_PAGES=1; v3.1.5 defaulted to 0).
  • v3.3.x adds Linux THP-aware purge behavior. When THP is available and allow_thp is enabled, _mi_os_minimal_purge_size() returns the large OS page size, usually 2MiB, so arena purge avoids fragmenting THP.
  • The binding build workload has bursty allocation/free behavior. At the benchmark sampling point, some arena pages are already freeable but are still retained until the delayed purge window expires or until they can be purged at the larger THP-friendly granularity.
  • RSS includes this allocator-retained committed memory, even though it is not live JS/Rust heap.

In short: the benchmark is observing retained arena memory from the newer mimalloc policy. This is an allocator tradeoff for less frequent decommit/recommit and less THP fragmentation, not a live-heap leak in Rspack.

Evidence

Same-machine artifact reruns for threejs_production-mode_10x_persistent-cold:

Artifact / mode mimalloc exec median RSS median
old artifact 0.1.48 / v3.1.5 2.83s 744MiB
upgraded artifact 0.1.50 / v3.3.1 2.86s 870MiB
upgraded artifact + MIMALLOC_PURGE_DELAY=10 0.1.50 / v3.3.1 2.64s 759MiB
upgraded artifact + MIMALLOC_PURGE_DELAY=20 0.1.50 / v3.3.1 2.67s 758MiB

MIMALLOC_SHOW_STATS=1 also points in the same direction:

  • v3.1.5: usually one arena, about 1GiB reserved, current committed around 570-590MiB, purged around 360-380MiB.
  • v3.3.1: usually two arenas, about 2GiB reserved, current committed around 1.0GiB, purged around 440-515MiB.

Custom mimalloc instrumentation showed that the second arena is not caused by one huge allocation. It can be triggered by normal page allocations such as:

arena_count=1 slice_count=1  alloc_size=65536
arena_count=1 slice_count=8  alloc_size=524288
arena_count=1 slice_count=64 alloc_size=4194304

Options that reduce RSS were tested but are not used in this PR:

  • MIMALLOC_DISALLOW_ARENA_ALLOC=1 lowers RSS but changes allocation strategy broadly and can slow binding builds.
  • arena_purge_mult=0 lowers RSS by making arena purge immediate, but it changes runtime allocator behavior and may increase decommit/recommit overhead.
  • allow_thp=0 or compile-time MI_ENABLE_LARGE_PAGES=0 only explains part of the RSS difference and changes allocator/runtime tradeoffs.
  • lowering arena_max_object_size to 16M/32M did not materially recover RSS for this workload.

Validation

  • cargo update -p mimalloc --precise 0.1.50
  • cargo tree -p rspack_allocator --target x86_64-unknown-linux-gnu -i mimalloc -e features
  • cargo tree -p rspack_benchmark --target x86_64-unknown-linux-gnu -i mimalloc -e features
  • cargo check -p rspack_allocator --target x86_64-unknown-linux-gnu
  • cargo check -p rspack_benchmark --target x86_64-unknown-linux-gnu
  • cargo fmt --all --check
  • pnpm dlx @taplo/cli@0.7.0 format --check Cargo.toml crates/rspack_allocator/Cargo.toml xtask/benchmark/Cargo.toml
  • git diff --check

Related links

  • microsoft/mimalloc commit 9199d54b: enabled mimalloc large page size class by default again.
  • microsoft/mimalloc issue #1246: previous arena purge scheduling issue; the relevant fixes are already in the v3.3 line.

Checklist

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

@github-actions github-actions Bot added team The issue/pr is created by the member of Rspack. release: bug fix release: bug related release(mr only) labels May 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

📝 Benchmark detail: Open

Name Base (68ea247) Current Change
10000_big_production-mode_disable-minimize + exec 13.9 s ± 358 ms 13.8 s ± 326 ms -0.68 %
10000_development-mode + exec 885 ms ± 31 ms 900 ms ± 16 ms +1.72 %
10000_development-mode_hmr + stats 159 ms ± 4.8 ms 164 ms ± 3.1 ms +2.91 %
10000_development-mode_noop-loader + exec 1.95 s ± 128 ms 1.95 s ± 99 ms +0.24 %
10000_production-mode + exec 997 ms ± 27 ms 1.02 s ± 34 ms +2.07 %
10000_production-mode_persistent-cold + exec 1.15 s ± 13 ms 1.18 s ± 12 ms +2.58 %
10000_production-mode_persistent-hot + exec 598 ms ± 24 ms 610 ms ± 29 ms +2.07 %
10000_production-mode_source-map + exec 1.16 s ± 20 ms 1.18 s ± 59 ms +1.98 %
arco-pro_development-mode + exec 1.28 s ± 67 ms 1.28 s ± 88 ms +0.03 %
arco-pro_development-mode_hmr + stats 33 ms ± 1.3 ms 35 ms ± 8.9 ms +5.60 %
arco-pro_production-mode + exec 2.37 s ± 128 ms 2.39 s ± 68 ms +0.55 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 2.49 s ± 127 ms 2.48 s ± 115 ms -0.44 %
arco-pro_production-mode_persistent-cold + exec 2.4 s ± 107 ms 2.47 s ± 81 ms +3.07 %
arco-pro_production-mode_persistent-hot + exec 338 ms ± 4 ms 347 ms ± 5.1 ms +2.61 %
arco-pro_production-mode_source-map + exec 2.83 s ± 168 ms 2.85 s ± 163 ms +0.89 %
arco-pro_production-mode_traverse-chunk-modules + exec 2.44 s ± 168 ms 2.4 s ± 107 ms -1.45 %
bundled-threejs_development-mode + exec 185 ms ± 6.4 ms 183 ms ± 2.4 ms -1.40 %
bundled-threejs_production-mode + exec 213 ms ± 5.1 ms 217 ms ± 13 ms +1.97 %
large-dyn-imports_development-mode + exec 1.13 s ± 28 ms 1.14 s ± 19 ms +1.35 %
large-dyn-imports_production-mode + exec 1.25 s ± 15 ms 1.26 s ± 21 ms +0.69 %
threejs_development-mode_10x + exec 811 ms ± 23 ms 814 ms ± 22 ms +0.27 %
threejs_development-mode_10x_hmr + stats 112 ms ± 7.1 ms 112 ms ± 5.7 ms -0.23 %
threejs_production-mode_10x + exec 2.91 s ± 36 ms 2.89 s ± 42 ms -0.67 %
threejs_production-mode_10x_persistent-cold + exec 3.02 s ± 29 ms 3.01 s ± 34 ms -0.24 %
threejs_production-mode_10x_persistent-hot + exec 384 ms ± 4.3 ms 386 ms ± 14 ms +0.42 %
threejs_production-mode_10x_source-map + exec 3.59 s ± 107 ms 3.58 s ± 37 ms -0.38 %
10000_big_production-mode_disable-minimize + rss memory 2114 MiB ± 41.2 MiB 2206 MiB ± 50.6 MiB +4.34 %
10000_development-mode + rss memory 592 MiB ± 14.1 MiB 648 MiB ± 3.22 MiB +9.54 %
10000_development-mode_hmr + rss memory 823 MiB ± 18.6 MiB 945 MiB ± 39.9 MiB +14.77 %
10000_development-mode_noop-loader + rss memory 893 MiB ± 8.22 MiB 965 MiB ± 31.4 MiB +7.99 %
10000_production-mode + rss memory 541 MiB ± 16.6 MiB 647 MiB ± 18.6 MiB +19.63 %
10000_production-mode_persistent-cold + rss memory 736 MiB ± 17.6 MiB 788 MiB ± 24.1 MiB +7.06 %
10000_production-mode_persistent-hot + rss memory 639 MiB ± 32.8 MiB 704 MiB ± 25.9 MiB +10.17 %
10000_production-mode_source-map + rss memory 532 MiB ± 12.4 MiB 647 MiB ± 38.2 MiB +21.76 %
arco-pro_development-mode + rss memory 484 MiB ± 6.16 MiB 613 MiB ± 29.3 MiB +26.85 %
arco-pro_development-mode_hmr + rss memory 500 MiB ± 7.81 MiB 676 MiB ± 14.1 MiB +35.03 %
arco-pro_production-mode + rss memory 681 MiB ± 19.2 MiB 781 MiB ± 28.8 MiB +14.57 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 693 MiB ± 7.58 MiB 807 MiB ± 30.9 MiB +16.36 %
arco-pro_production-mode_persistent-cold + rss memory 748 MiB ± 13.2 MiB 906 MiB ± 9.21 MiB +21.06 %
arco-pro_production-mode_persistent-hot + rss memory 371 MiB ± 18.6 MiB 513 MiB ± 29.2 MiB +38.34 %
arco-pro_production-mode_source-map + rss memory 758 MiB ± 11.8 MiB 992 MiB ± 22.7 MiB +30.79 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 689 MiB ± 20.8 MiB 800 MiB ± 16 MiB +16.12 %
bundled-threejs_development-mode + rss memory 161 MiB ± 3.49 MiB 157 MiB ± 4.97 MiB -2.26 %
bundled-threejs_production-mode + rss memory 184 MiB ± 8.23 MiB 221 MiB ± 35.4 MiB +20.53 %
large-dyn-imports_development-mode + rss memory 590 MiB ± 30.8 MiB 654 MiB ± 21.9 MiB +10.85 %
large-dyn-imports_production-mode + rss memory 465 MiB ± 9.43 MiB 508 MiB ± 17.6 MiB +9.25 %
threejs_development-mode_10x + rss memory 540 MiB ± 14.6 MiB 576 MiB ± 10.2 MiB +6.71 %
threejs_development-mode_10x_hmr + rss memory 668 MiB ± 5.93 MiB 774 MiB ± 11.7 MiB +15.81 %
threejs_production-mode_10x + rss memory 719 MiB ± 17.8 MiB 851 MiB ± 25.4 MiB +18.32 %
threejs_production-mode_10x_persistent-cold + rss memory 680 MiB ± 20.2 MiB 1031 MiB ± 21.5 MiB +51.51 %
threejs_production-mode_10x_persistent-hot + rss memory 473 MiB ± 19.8 MiB 586 MiB ± 32.5 MiB +23.90 %
threejs_production-mode_10x_source-map + rss memory 845 MiB ± 36.8 MiB 1029 MiB ± 39.9 MiB +21.79 %

Base persistent cache hit rate:

  • 10000_production-mode_persistent-cold: 0.00%
  • arco-pro_production-mode_persistent-cold: 0.00%
  • threejs_production-mode_10x_persistent-cold: 0.00%
    Current persistent cache hit rate:
  • 10000_production-mode_persistent-cold: 0.00%
  • arco-pro_production-mode_persistent-cold: 0.00%
  • threejs_production-mode_10x_persistent-cold: 0.00%

Threshold exceeded: ["arco-pro_development-mode_hmr + rss memory","arco-pro_production-mode_persistent-hot + rss memory","arco-pro_production-mode_source-map + rss memory","threejs_production-mode_10x_persistent-cold + rss memory"]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

📦 Binary Size-limit

Comparing 2820dbd to chore: use mimalloc for codspeed benchmark allocator (#13966) by hardfist

❌ Size increased by 28.04KB from 61.92MB to 61.95MB (⬆️0.04%)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Rsdoctor Bundle Diff Analysis

Found 6 projects in monorepo, 0 projects with changes.

📊 Quick Summary
Project Total Size Change
popular-libs 1.7 MB 0
react-1k 826.3 KB 0
react-10k 5.7 MB 0
rome 1.6 MB 0
ui-components 4.8 MB 0
react-5k 2.7 MB 0

Generated by Rsdoctor GitHub Action

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 8, 2026

Merging this PR will not alter performance

✅ 34 untouched benchmarks


Comparing codex/disable-mimalloc-thp (2820dbd) with main (3d23891)

Open in CodSpeed

@hardfist hardfist force-pushed the codex/disable-mimalloc-thp branch from 61a1346 to 3dcb147 Compare May 8, 2026 06:34
@hardfist hardfist changed the title fix(deps): disable mimalloc THP on Linux fix(deps): pin mimalloc before RSS regression May 8, 2026
@hardfist hardfist force-pushed the codex/disable-mimalloc-thp branch from 3dcb147 to 9a8616c Compare May 8, 2026 06:49
@hardfist hardfist changed the title fix(deps): pin mimalloc before RSS regression fix(binding): disable mimalloc arena allocation on linux May 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

⏳ Triggered benchmark: Open

@hardfist hardfist force-pushed the codex/disable-mimalloc-thp branch from 9a8616c to bdde25c Compare May 8, 2026 07:08
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

📝 Benchmark detail: Open

Name Base (68ea247) Current Change
10000_big_production-mode_disable-minimize + exec 13.9 s ± 358 ms 16.5 s ± 449 ms +18.25 %
10000_development-mode + exec 885 ms ± 31 ms 1.43 s ± 162 ms +61.50 %
10000_development-mode_hmr + stats 159 ms ± 4.8 ms 207 ms ± 4.5 ms +30.33 %
10000_development-mode_noop-loader + exec 1.95 s ± 128 ms 2.66 s ± 221 ms +36.40 %
10000_production-mode + exec 997 ms ± 27 ms 1.32 s ± 32 ms +32.54 %
10000_production-mode_persistent-cold + exec 1.15 s ± 13 ms 1.66 s ± 50 ms +43.63 %
10000_production-mode_persistent-hot + exec 598 ms ± 24 ms 967 ms ± 18 ms +61.85 %
10000_production-mode_source-map + exec 1.16 s ± 20 ms 1.55 s ± 52 ms +33.53 %
arco-pro_development-mode + exec 1.28 s ± 67 ms 1.44 s ± 108 ms +12.61 %
arco-pro_development-mode_hmr + stats 33 ms ± 1.3 ms 38 ms ± 1 ms +14.13 %
arco-pro_production-mode + exec 2.37 s ± 128 ms 2.72 s ± 81 ms +14.50 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 2.49 s ± 127 ms 2.8 s ± 95 ms +12.43 %
arco-pro_production-mode_persistent-cold + exec 2.4 s ± 107 ms 2.83 s ± 120 ms +17.93 %
arco-pro_production-mode_persistent-hot + exec 338 ms ± 4 ms 460 ms ± 6 ms +36.06 %
arco-pro_production-mode_source-map + exec 2.83 s ± 168 ms 3.26 s ± 154 ms +15.28 %
arco-pro_production-mode_traverse-chunk-modules + exec 2.44 s ± 168 ms 2.76 s ± 75 ms +13.25 %
bundled-threejs_development-mode + exec 185 ms ± 6.4 ms 204 ms ± 8.7 ms +10.25 %
bundled-threejs_production-mode + exec 213 ms ± 5.1 ms 238 ms ± 6.9 ms +11.54 %
large-dyn-imports_development-mode + exec 1.13 s ± 28 ms 1.32 s ± 12 ms +17.17 %
large-dyn-imports_production-mode + exec 1.25 s ± 15 ms 1.51 s ± 42 ms +20.49 %
threejs_development-mode_10x + exec 811 ms ± 23 ms 957 ms ± 29 ms +17.99 %
threejs_development-mode_10x_hmr + stats 112 ms ± 7.1 ms 153 ms ± 3.2 ms +36.78 %
threejs_production-mode_10x + exec 2.91 s ± 36 ms 3.31 s ± 38 ms +13.71 %
threejs_production-mode_10x_persistent-cold + exec 3.02 s ± 29 ms 3.55 s ± 25 ms +17.56 %
threejs_production-mode_10x_persistent-hot + exec 384 ms ± 4.3 ms 563 ms ± 8.7 ms +46.64 %
threejs_production-mode_10x_source-map + exec 3.59 s ± 107 ms 4.1 s ± 31 ms +14.07 %
10000_big_production-mode_disable-minimize + rss memory 2114 MiB ± 41.2 MiB 2210 MiB ± 7.73 MiB +4.52 %
10000_development-mode + rss memory 592 MiB ± 14.1 MiB 593 MiB ± 25.6 MiB +0.18 %
10000_development-mode_hmr + rss memory 823 MiB ± 18.6 MiB 843 MiB ± 20.8 MiB +2.42 %
10000_development-mode_noop-loader + rss memory 893 MiB ± 8.22 MiB 869 MiB ± 17.1 MiB -2.73 %
10000_production-mode + rss memory 541 MiB ± 16.6 MiB 512 MiB ± 36.6 MiB -5.30 %
10000_production-mode_persistent-cold + rss memory 736 MiB ± 17.6 MiB 693 MiB ± 27.5 MiB -5.92 %
10000_production-mode_persistent-hot + rss memory 639 MiB ± 32.8 MiB 598 MiB ± 13.5 MiB -6.39 %
10000_production-mode_source-map + rss memory 532 MiB ± 12.4 MiB 557 MiB ± 16.7 MiB +4.78 %
arco-pro_development-mode + rss memory 484 MiB ± 6.16 MiB 487 MiB ± 9.04 MiB +0.77 %
arco-pro_development-mode_hmr + rss memory 500 MiB ± 7.81 MiB 556 MiB ± 28.7 MiB +11.11 %
arco-pro_production-mode + rss memory 681 MiB ± 19.2 MiB 562 MiB ± 23 MiB -17.56 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 693 MiB ± 7.58 MiB 579 MiB ± 18 MiB -16.50 %
arco-pro_production-mode_persistent-cold + rss memory 748 MiB ± 13.2 MiB 659 MiB ± 22.2 MiB -11.91 %
arco-pro_production-mode_persistent-hot + rss memory 371 MiB ± 18.6 MiB 335 MiB ± 17.6 MiB -9.76 %
arco-pro_production-mode_source-map + rss memory 758 MiB ± 11.8 MiB 725 MiB ± 20.5 MiB -4.34 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 689 MiB ± 20.8 MiB 571 MiB ± 16.1 MiB -17.09 %
bundled-threejs_development-mode + rss memory 161 MiB ± 3.49 MiB 130 MiB ± 9.06 MiB -18.98 %
bundled-threejs_production-mode + rss memory 184 MiB ± 8.23 MiB 147 MiB ± 4.76 MiB -19.99 %
large-dyn-imports_development-mode + rss memory 590 MiB ± 30.8 MiB 586 MiB ± 9.48 MiB -0.57 %
large-dyn-imports_production-mode + rss memory 465 MiB ± 9.43 MiB 458 MiB ± 9.4 MiB -1.38 %
threejs_development-mode_10x + rss memory 540 MiB ± 14.6 MiB 477 MiB ± 9.19 MiB -11.59 %
threejs_development-mode_10x_hmr + rss memory 668 MiB ± 5.93 MiB 643 MiB ± 9.75 MiB -3.81 %
threejs_production-mode_10x + rss memory 719 MiB ± 17.8 MiB 588 MiB ± 19.4 MiB -18.17 %
threejs_production-mode_10x_persistent-cold + rss memory 680 MiB ± 20.2 MiB 742 MiB ± 29.3 MiB +9.12 %
threejs_production-mode_10x_persistent-hot + rss memory 473 MiB ± 19.8 MiB 423 MiB ± 14 MiB -10.52 %
threejs_production-mode_10x_source-map + rss memory 845 MiB ± 36.8 MiB 658 MiB ± 18.6 MiB -22.11 %

Base persistent cache hit rate:

  • 10000_production-mode_persistent-cold: 0.00%
  • arco-pro_production-mode_persistent-cold: 0.00%
  • threejs_production-mode_10x_persistent-cold: 0.00%
    Current persistent cache hit rate:
  • 10000_production-mode_persistent-cold: 0.00%
  • arco-pro_production-mode_persistent-cold: 0.00%
  • threejs_production-mode_10x_persistent-cold: 0.00%

Threshold exceeded: ["10000_big_production-mode_disable-minimize + exec","10000_development-mode + exec","10000_development-mode_noop-loader + exec","10000_production-mode + exec","10000_production-mode_persistent-cold + exec","10000_production-mode_persistent-hot + exec","10000_production-mode_source-map + exec","arco-pro_development-mode + exec","arco-pro_production-mode + exec","arco-pro_production-mode_generate-package-json-webpack-plugin + exec","arco-pro_production-mode_persistent-cold + exec","arco-pro_production-mode_persistent-hot + exec","arco-pro_production-mode_source-map + exec","arco-pro_production-mode_traverse-chunk-modules + exec","large-dyn-imports_development-mode + exec","large-dyn-imports_production-mode + exec","threejs_development-mode_10x + exec","threejs_production-mode_10x + exec","threejs_production-mode_10x_persistent-cold + exec","threejs_production-mode_10x_persistent-hot + exec","threejs_production-mode_10x_source-map + exec"]

@hardfist hardfist force-pushed the codex/disable-mimalloc-thp branch 3 times, most recently from 22481ce to c37553f Compare May 8, 2026 08:11
@hardfist hardfist changed the title fix(binding): disable mimalloc arena allocation on linux fix(binding): purge unused mimalloc arena pages May 8, 2026
@hardfist hardfist changed the title fix(binding): purge unused mimalloc arena pages fix(deps): pin mimalloc before RSS regression May 8, 2026
@hardfist hardfist force-pushed the codex/disable-mimalloc-thp branch 2 times, most recently from 8262baf to 0de2710 Compare May 8, 2026 10:36
@hardfist hardfist changed the title fix(deps): pin mimalloc before RSS regression fix(deps): tune mimalloc defaults for binding RSS May 8, 2026
@hardfist hardfist force-pushed the codex/disable-mimalloc-thp branch from 0de2710 to 247fd34 Compare May 8, 2026 12:42
@hardfist hardfist force-pushed the codex/disable-mimalloc-thp branch from 247fd34 to 2820dbd Compare May 9, 2026 06:34
@hardfist hardfist changed the title fix(deps): tune mimalloc defaults for binding RSS fix(deps): upgrade mimalloc May 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2026

📝 Benchmark detail: Open

Name Base (3d23891) Current Change
10000_big_production-mode_disable-minimize + exec 13.9 s ± 341 ms 14.8 s ± 122 ms +7.01 %
10000_development-mode + exec 893 ms ± 44 ms 897 ms ± 38 ms +0.45 %
10000_development-mode_hmr + stats 164 ms ± 20 ms 161 ms ± 2.4 ms -2.12 %
10000_development-mode_noop-loader + exec 1.98 s ± 58 ms 1.93 s ± 70 ms -2.61 %
10000_production-mode + exec 988 ms ± 8.8 ms 1.02 s ± 52 ms +2.69 %
10000_production-mode_persistent-cold + exec 1.15 s ± 29 ms 1.16 s ± 36 ms +0.70 %
10000_production-mode_persistent-hot + exec 595 ms ± 18 ms 607 ms ± 12 ms +1.91 %
10000_production-mode_source-map + exec 1.16 s ± 22 ms 1.17 s ± 24 ms +1.14 %
arco-pro_development-mode + exec 1.29 s ± 72 ms 1.34 s ± 55 ms +4.14 %
arco-pro_development-mode_hmr + stats 33 ms ± 0.54 ms 33 ms ± 0.53 ms +0.38 %
arco-pro_production-mode + exec 2.39 s ± 120 ms 2.37 s ± 123 ms -0.47 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 2.45 s ± 57 ms 2.45 s ± 48 ms +0.16 %
arco-pro_production-mode_persistent-cold + exec 2.45 s ± 105 ms 2.47 s ± 138 ms +0.85 %
arco-pro_production-mode_persistent-hot + exec 343 ms ± 7.6 ms 346 ms ± 6.4 ms +0.76 %
arco-pro_production-mode_source-map + exec 2.87 s ± 56 ms 2.84 s ± 113 ms -1.02 %
arco-pro_production-mode_traverse-chunk-modules + exec 2.45 s ± 118 ms 2.42 s ± 76 ms -1.28 %
bundled-threejs_development-mode + exec 182 ms ± 3.7 ms 185 ms ± 4.9 ms +1.64 %
bundled-threejs_production-mode + exec 212 ms ± 9.9 ms 217 ms ± 11 ms +2.07 %
large-dyn-imports_development-mode + exec 1.12 s ± 36 ms 1.14 s ± 51 ms +1.33 %
large-dyn-imports_production-mode + exec 1.24 s ± 25 ms 1.27 s ± 24 ms +2.10 %
threejs_development-mode_10x + exec 812 ms ± 17 ms 826 ms ± 42 ms +1.77 %
threejs_development-mode_10x_hmr + stats 109 ms ± 2.4 ms 112 ms ± 2.7 ms +2.35 %
threejs_production-mode_10x + exec 2.91 s ± 34 ms 2.91 s ± 32 ms -0.18 %
threejs_production-mode_10x_persistent-cold + exec 3.02 s ± 29 ms 3.03 s ± 31 ms +0.26 %
threejs_production-mode_10x_persistent-hot + exec 386 ms ± 12 ms 385 ms ± 5.8 ms -0.05 %
threejs_production-mode_10x_source-map + exec 3.59 s ± 62 ms 3.6 s ± 58 ms +0.21 %
10000_big_production-mode_disable-minimize + rss memory 2032 MiB ± 45.8 MiB 2117 MiB ± 103 MiB +4.22 %
10000_development-mode + rss memory 591 MiB ± 17.6 MiB 662 MiB ± 23.3 MiB +12.15 %
10000_development-mode_hmr + rss memory 816 MiB ± 34 MiB 943 MiB ± 25.9 MiB +15.60 %
10000_development-mode_noop-loader + rss memory 890 MiB ± 16.5 MiB 955 MiB ± 13.8 MiB +7.32 %
10000_production-mode + rss memory 540 MiB ± 19.9 MiB 659 MiB ± 26.2 MiB +22.01 %
10000_production-mode_persistent-cold + rss memory 739 MiB ± 9.44 MiB 797 MiB ± 63.1 MiB +7.91 %
10000_production-mode_persistent-hot + rss memory 628 MiB ± 32.6 MiB 700 MiB ± 14 MiB +11.45 %
10000_production-mode_source-map + rss memory 535 MiB ± 16.3 MiB 652 MiB ± 9.44 MiB +21.78 %
arco-pro_development-mode + rss memory 484 MiB ± 8.41 MiB 601 MiB ± 37.2 MiB +24.37 %
arco-pro_development-mode_hmr + rss memory 497 MiB ± 7.96 MiB 675 MiB ± 9.6 MiB +35.68 %
arco-pro_production-mode + rss memory 682 MiB ± 14.6 MiB 795 MiB ± 19.9 MiB +16.55 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 697 MiB ± 10.9 MiB 819 MiB ± 15.6 MiB +17.48 %
arco-pro_production-mode_persistent-cold + rss memory 753 MiB ± 8.21 MiB 913 MiB ± 30.6 MiB +21.23 %
arco-pro_production-mode_persistent-hot + rss memory 375 MiB ± 26.9 MiB 500 MiB ± 35.3 MiB +33.25 %
arco-pro_production-mode_source-map + rss memory 762 MiB ± 10.1 MiB 983 MiB ± 33.3 MiB +28.98 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 683 MiB ± 6.68 MiB 799 MiB ± 8.7 MiB +17.04 %
bundled-threejs_development-mode + rss memory 153 MiB ± 11.6 MiB 164 MiB ± 11.6 MiB +7.11 %
bundled-threejs_production-mode + rss memory 177 MiB ± 4 MiB 201 MiB ± 22.9 MiB +13.77 %
large-dyn-imports_development-mode + rss memory 608 MiB ± 13.5 MiB 670 MiB ± 38.5 MiB +10.29 %
large-dyn-imports_production-mode + rss memory 460 MiB ± 10 MiB 499 MiB ± 14.7 MiB +8.50 %
threejs_development-mode_10x + rss memory 537 MiB ± 19.5 MiB 586 MiB ± 33.2 MiB +9.02 %
threejs_development-mode_10x_hmr + rss memory 672 MiB ± 23 MiB 773 MiB ± 24.3 MiB +15.01 %
threejs_production-mode_10x + rss memory 716 MiB ± 8.7 MiB 865 MiB ± 21.9 MiB +20.78 %
threejs_production-mode_10x_persistent-cold + rss memory 677 MiB ± 25.9 MiB 1026 MiB ± 42.6 MiB +51.42 %
threejs_production-mode_10x_persistent-hot + rss memory 472 MiB ± 19.5 MiB 584 MiB ± 19.4 MiB +23.79 %
threejs_production-mode_10x_source-map + rss memory 852 MiB ± 35 MiB 1045 MiB ± 21.7 MiB +22.65 %

Base persistent cache hit rate:

  • 10000_production-mode_persistent-cold: 0.00%
  • arco-pro_production-mode_persistent-cold: 0.00%
  • threejs_production-mode_10x_persistent-cold: 0.00%
    Current persistent cache hit rate:
  • 10000_production-mode_persistent-cold: 0.00%
  • arco-pro_production-mode_persistent-cold: 0.00%
  • threejs_production-mode_10x_persistent-cold: 0.00%

Threshold exceeded: ["10000_big_production-mode_disable-minimize + exec","arco-pro_development-mode_hmr + rss memory","arco-pro_production-mode_persistent-hot + rss memory","threejs_production-mode_10x_persistent-cold + rss memory"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: bug fix release: bug 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.

1 participant