next.js
turbo-tasks: Reduce allocations on cache hits
#92756
Merged
Go
Login via GitHub
Home
FAQ
Install
Login
via GitHub
Overview
Commits
21
Changes
View On
GitHub
turbo-tasks: Reduce allocations on cache hits
#92756
lukesandberg
merged 21 commits into
canary
from
fewer_boxes
nextjs-bot
added
created-by: Turbopack team
nextjs-bot
added
Turbopack
lukesandberg
commented on 2026-04-14
lukesandberg
commented on 2026-04-14
lukesandberg
commented on 2026-04-14
lukesandberg
commented on 2026-04-14
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
requested a review
from
mmastrac
232 days ago
lukesandberg
marked this pull request as ready for review
232 days ago
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
mmastrac
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
lukesandberg
commented on 2026-04-16
Reduce allocations on turbo-tasks cache hits
b5dce383
Fix CI: clippy lints and testing backend unreachable
02896c4a
Address review: remove stale comments, dead code, and extra Arc clone
cc4c4255
Extend cache-hit optimization to method calls with this pointer
78347073
Replace callsite branching with StackArg deferred boxing
488dedab
Address review comments on StackArg PR
9a5b1917
Single-lookup cache path with pre-computed hash
03d24cb6
Restore read-lock-first cache lookup to avoid holding dashmap lock du…
783ecdd3
Remove dead code: arc_or_owned module, unused dash_map_raw_entry methods
1191af21
Rename StackArg -> StackMagicAny, filter_owned accepts &mut dyn Stack…
9e2dd0a7
Merge get_or_create_{persistent,transient}_task into single get_or_cr…
c52e2b5d
Fix clippy collapsible_if in get_or_create_task
b432ca5f
Address review comments: restore comments, remove StackMagicAny doc, …
5231acf0
Return existing Arc<CachedTaskType> from task_by_type
f775e73f
Add unit tests for CachedTaskType::hash_from_components and eq_compon…
e7de2884
Share DashMap shard index across read and write lookups
87491f15
Mark StackMagicAnySlot as repr(transparent)
af339f54
Share DashMap shard reference via raw-api feature
7cd2fe98
Defer boxing until full cache miss by decomposing task_by_type
3cfbb1e4
Restore lost comments and fix stale ones from refactoring
51655583
REMOVE ONE MORE ALLOCATION
59875f45
lukesandberg
force pushed
from
8b695771
to
59875f45
231 days ago
lukesandberg
requested a review
from
mmastrac
231 days ago
mmastrac
approved these changes on 2026-04-16
lukesandberg
merged
31a1b635
into canary
231 days ago
lukesandberg
deleted the fewer_boxes branch
231 days ago
github-actions
added
locked
github-actions
locked
as resolved
and limited conversation to collaborators
217 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
mmastrac
Assignees
No one assigned
Labels
Turbopack
created-by: Turbopack team
locked
Milestone
No milestone
Login to write a write a comment.
Login via GitHub