-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Drop excessive cells after task reexecution #8170
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
8 Skipped Deployments
|
✅ This change can build |
🟢 Turbopack Benchmark CI successful 🟢Thanks |
|
427f999
to
64b1e46
Compare
64b1e46
to
91c44f9
Compare
91c44f9
to
0967bee
Compare
0967bee
to
0e94bb4
Compare
@@ -325,6 +324,7 @@ impl Backend for MemoryBackend { | |||
task_id: TaskId, | |||
duration: Duration, | |||
memory_usage: usize, | |||
cell_counters: AutoMap<ValueTypeId, u32, BuildHasherDefault<FxHasher>, 8>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated but it would be useful to log the max size of each of these items perhaps in the tracing mode @bgw built? It's hard as a reviewer to understand memory impact sometimes.
/// Access to a cell. | ||
pub(crate) fn with_cell_mut<T>( | ||
/// Read a cell. | ||
pub(crate) fn read_cell( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bikeshedding but I prefer with_cell and with_cell_mut even it it not supposed to return anything
b15889a
to
7e73710
Compare
f7ec54f
to
ade4ad5
Compare
b89925f
to
300252a
Compare
ade4ad5
to
3589b2e
Compare
When cells become unused after recomputation of a task, drop them.
3589b2e
to
6fda947
Compare
* vercel/turborepo#8812 <!-- Benjamin Woodruff - Simplify some of the syntax used with VcRead<T> --> * vercel/turborepo#8823 <!-- hrmny - feat(turbopack): support analysing string concatenation --> * vercel/turborepo#8828 <!-- Tobias Koppers - change from failsafe_analyse to failsafe_parse --> * vercel/turborepo#8831 <!-- Alexander Lyon - make sure that all the taiki-e/install-action calls use our env --> * vercel/turborepo#8819 <!-- Tobias Koppers - Refactor cell reading to handle removed cells --> * vercel/turborepo#8038 <!-- Alexander Lyon - add tags to turbo tasks --> * vercel/turborepo#8807 <!-- Tobias Koppers - box Scheduled task state to save memory --> * vercel/turborepo#8170 <!-- Tobias Koppers - Drop excessive cells after task reexecution -->
### Description When cells become unused after recomputation of a task, drop them. ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
### Description When cells become unused after recomputation of a task, drop them. ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
### Description When cells become unused after recomputation of a task, drop them. ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
When cells become unused after recomputation of a task, drop them. <!-- Give a quick description of steps to test your changes. -->
### Description When cells become unused after recomputation of a task, drop them. ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
When cells become unused after recomputation of a task, drop them. <!-- Give a quick description of steps to test your changes. -->
* vercel/turborepo#8812 <!-- Benjamin Woodruff - Simplify some of the syntax used with VcRead<T> --> * vercel/turborepo#8823 <!-- hrmny - feat(turbopack): support analysing string concatenation --> * vercel/turborepo#8828 <!-- Tobias Koppers - change from failsafe_analyse to failsafe_parse --> * vercel/turborepo#8831 <!-- Alexander Lyon - make sure that all the taiki-e/install-action calls use our env --> * vercel/turborepo#8819 <!-- Tobias Koppers - Refactor cell reading to handle removed cells --> * vercel/turborepo#8038 <!-- Alexander Lyon - add tags to turbo tasks --> * vercel/turborepo#8807 <!-- Tobias Koppers - box Scheduled task state to save memory --> * vercel/turborepo#8170 <!-- Tobias Koppers - Drop excessive cells after task reexecution -->
* vercel/turborepo#8812 <!-- Benjamin Woodruff - Simplify some of the syntax used with VcRead<T> --> * vercel/turborepo#8823 <!-- hrmny - feat(turbopack): support analysing string concatenation --> * vercel/turborepo#8828 <!-- Tobias Koppers - change from failsafe_analyse to failsafe_parse --> * vercel/turborepo#8831 <!-- Alexander Lyon - make sure that all the taiki-e/install-action calls use our env --> * vercel/turborepo#8819 <!-- Tobias Koppers - Refactor cell reading to handle removed cells --> * vercel/turborepo#8038 <!-- Alexander Lyon - add tags to turbo tasks --> * vercel/turborepo#8807 <!-- Tobias Koppers - box Scheduled task state to save memory --> * vercel/turborepo#8170 <!-- Tobias Koppers - Drop excessive cells after task reexecution -->
* vercel/turborepo#8812 <!-- Benjamin Woodruff - Simplify some of the syntax used with VcRead<T> --> * vercel/turborepo#8823 <!-- hrmny - feat(turbopack): support analysing string concatenation --> * vercel/turborepo#8828 <!-- Tobias Koppers - change from failsafe_analyse to failsafe_parse --> * vercel/turborepo#8831 <!-- Alexander Lyon - make sure that all the taiki-e/install-action calls use our env --> * vercel/turborepo#8819 <!-- Tobias Koppers - Refactor cell reading to handle removed cells --> * vercel/turborepo#8038 <!-- Alexander Lyon - add tags to turbo tasks --> * vercel/turborepo#8807 <!-- Tobias Koppers - box Scheduled task state to save memory --> * vercel/turborepo#8170 <!-- Tobias Koppers - Drop excessive cells after task reexecution -->
Description
When cells become unused after recomputation of a task, drop them.
Testing Instructions