web-infra-dev
rspack
BlogDocsChangelog

feature/async startup runtime promise

#11899
Comparing
feature/async-startup-runtime-promise
(
deca562
) with
main
(
b6c91e1
)
CodSpeed Performance Gauge
0%
Untouched
17

Benchmarks

Passed

js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
577.2 µs570.7 µs
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
25.3 ms25.2 ms
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
216.9 µs216.4 µs
bundle@basic-react-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
569.3 ms568.6 ms
rust@build_chunk_graph_parallel
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
92.2 ms92.1 ms
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
372.1 ms371.9 ms
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
775 ms775.1 ms
bundle@threejs-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
1.6 s1.6 s
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
284.4 µs284.5 µs
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
2 ms2 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
2.2 s2.2 s
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
756.1 ms757.4 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
87.6 µs87.8 µs
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
100 ms100.3 ms
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
82.2 µs82.6 µs
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
66.4 µs66.7 µs
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-1%
1.5 ms1.5 ms

Commits

Click on a commit to change the comparison range
Base
main
b6c91e1
+0.03%
chore(binding): sync wasi generated exports
2ef62db
9 days ago
by ScriptedAlchemy
-0.68%
fix(runtime): adjust async startup promise flow
36cd349
9 days ago
by ScriptedAlchemy
+0.61%
chore: merge origin main
a8ce32c
7 days ago
by ScriptedAlchemy
+0.02%
fix(runtime): ensure async loaders await dependencies
463e19b
6 days ago
by ScriptedAlchemy
-0.03%
refactor(runtime): tidy async startup hash update
d1c8a51
6 days ago
by ScriptedAlchemy
-0.01%
fix(runtime): gate mf async startup behind experiment
4cc4f4e
6 days ago
by ScriptedAlchemy
-0.2%
fix: honor explicit mfAsyncStartup for containers Allow async startup when mfAsyncStartup is explicitly true, even for chunks with container entries. Only disable async startup for containers when it's implicitly enabled through chunk handlers.
30b5d94
6 days ago
by ScriptedAlchemy
+0.13%
fix(mf): include runtime handlers in enhanced mode Previously, enhanced mode would only set fallback error functions for __webpack_require__.f.consumes, __webpack_require__.f.remotes, and __webpack_require__.I instead of including the actual handler implementations. This caused runtime errors when async startup was enabled. Now enhanced mode includes the actual handler code: - ConsumeSharedRuntimeModule includes consumesCommon.js, consumesInitial.js, and consumesLoading.js - RemoteRuntimeModule includes remotesLoading.js - ShareRuntimeModule includes initializeSharing.js Also adds container entry detection to prevent async startup for container.js files while allowing it for host files (main.js) that consume remotes. Test results improved from 14 failures to 5 failures. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
a70265d
6 days ago
by ScriptedAlchemy
+0.17%
fix(binding): add mf async startup bindings
1e50a14
4 days ago
by ScriptedAlchemy
+0.08%
chore: update Cargo.lock after removing ustr dependency
0623ed8
4 days ago
by ScriptedAlchemy
-0.29%
fix: gate all MF async startup logic on experiment flag Only apply async startup runtime modules when mf_async_startup experiment is explicitly enabled. This prevents adding extra runtime modules to non-MF builds. Fixes test failures where stats snapshots showed 12 runtime modules instead of 3 for regular (non-MF) builds.
8994f30
4 days ago
by ScriptedAlchemy
+0.02%
fix: properly gate MF async startup to preserve main branch behavior - Separate main branch logic from MF async startup logic - Only apply container entry check to MF async builds, not all builds - Non-MF builds now match main branch (3 runtime modules instead of 12) - Update snapshots for commons-chunk-min-size-Infinity and named-chunks-plugin tests 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28eba04
4 days ago
by ScriptedAlchemy
+0.02%
fix: suppress false positive 'this' unused warning in BuildInfo The TypeScript ESLint rule incorrectly flags 'this' as unused even though it's used via the spread operator (...this) and property accesses. Added eslint-disable comment to suppress this false positive. This unblocks CI which has 2283 warnings vs the 2282 limit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
b3b3c5d
4 days ago
by ScriptedAlchemy
+0.25%
fix(rspack): make build info inspect serializable
52fb979
3 days ago
by ScriptedAlchemy
0%
fix(incremental): avoid repeat full-hash warnings
31da1bb
3 days ago
by ScriptedAlchemy
+0.06%
test(container): align async startup expectations
3ba4253
3 days ago
by ScriptedAlchemy
-0.1%
test(container): handle remote share versions
fbd55b0
3 days ago
by ScriptedAlchemy
-0.03%
test(container): normalize async startup expectations
b5c3d9c
3 days ago
by ScriptedAlchemy
0%
fix(mf): guard embed runtime plugin behind async startup
420b7f6
3 days ago
by ScriptedAlchemy
-0.08%
fix(mf): ensure backwards compatibility for async startup feature Ensures default behavior matches main branch exactly when mfAsyncStartup flag is disabled. Changes: - Remove inverted guard logic preventing embed runtime plugin from running - Make runtime code generation conditional on async_startup flag - Restore chunk cleanup logic with proper conditional guards - Add missing async_startup field to ModuleFederationRuntimePluginOptions - Restore test files that were deleted from main branch 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
3ebd6f3
3 days ago
by ScriptedAlchemy
0%
fix(ir): minimal async startup gating
deca562
1 day ago
by ScriptedAlchemy
© 2025 CodSpeed Technology
Home Terms Privacy Docs