Avatar for the vercel user
vercel
next.js
BlogDocsChangelog

[turbopack] Reuse shared Promise for loaded chunks

#81755Merged
Comparing
sebbie/07-17-_turbopack_reuse_shared_promise_for_loaded_chunks
(
dca90b6
) with
canary
(
2256b6b
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
9
New
0
Dropped
0
Ignored
3

Benchmarks

Passed

build[lucide-react-single]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[lucide-react-single]
CodSpeed Performance Gauge
0%
916.9 ms
913.5 ms
build[mui]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[mui]
CodSpeed Performance Gauge
0%
3.2 s
3.2 s
build[date-fns-single]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[date-fns-single]
CodSpeed Performance Gauge
0%
1.4 s
1.4 s
build[framer-motion-single]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[framer-motion-single]
CodSpeed Performance Gauge
0%
2.2 s
2.2 s
build[framer-motion-all]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[framer-motion-all]
CodSpeed Performance Gauge
0%
3.1 s
3.1 s
build[lucide-react-all]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[lucide-react-all]
CodSpeed Performance Gauge
0%
9.3 s
9.3 s
build[joy]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[joy]
CodSpeed Performance Gauge
0%
2.1 s
2.1 s
build[date-fns-all]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[date-fns-all]
CodSpeed Performance Gauge
0%
2.3 s
2.3 s
build[shiki]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[shiki]
CodSpeed Performance Gauge
-1%
6.1 s
6.1 s

Ignored

hmr_updates_large_20Ignored
crates/next-api/benches/hmr.rs::hmr_updates_large_20
CodSpeed Performance Gauge
+1%
17.1 µs
17 µs
hmr_updates_medium_10Ignored
crates/next-api/benches/hmr.rs::hmr_updates_medium_10
CodSpeed Performance Gauge
-1%
16.8 µs
16.9 µs
hmr_updates_small_5Ignored
crates/next-api/benches/hmr.rs::hmr_updates_small_5
CodSpeed Performance Gauge
0%
17 µs
17 µs

Commits

Click on a commit to change the comparison range
Base
canary
2256b6b
0%
[turbopack] Reuse shared Promise for loaded chunks This is still problematic when React sees this special Promise for the first time since it'll still need a microtask to find out it's already resolved. The proper fix is to fully instrument the Promise in Turbopack (`status`) field so that React can make use of the `status` field instead of instrumenting it separately.
dca90b6
2 days ago
by eps1lon
© 2025 CodSpeed Technology
Home Terms Privacy Docs