-
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
trace memory allocations and show in tracing #6866
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
7 Ignored Deployments
|
🟢 Turbopack Benchmark CI successful 🟢Thanks |
✅ This change can build |
🟢 CI successful 🟢Thanks |
@@ -13,16 +13,37 @@ const TARGET_BUFFER: usize = 100 * KB; | |||
/// global counter. | |||
const MAX_BUFFER: usize = 200 * KB; | |||
|
|||
#[derive(Default)] | |||
pub struct AllocationInfo { | |||
pub allocations: usize, |
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.
is usize enough to not overflow?
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.
Yep, 16 exabytes should be enough
### Description Update `Cargo.lock` to match changes made to `Cargo.toml` in #6866 ### Testing Instructions 👀 Closes TURBO-2032
### What? api changes for vercel/turborepo#6988 ### Turbopack Changes * vercel/turborepo#6886 <!-- Tobias Koppers - improve nesting of tracing for invalidations --> * vercel/turborepo#6866 <!-- Tobias Koppers - trace memory allocations and show in tracing --> * vercel/turborepo#6988 <!-- Tobias Koppers - allow to pass available chunk items when creating a chunk group --> * vercel/turborepo#7013 <!-- Leah - fix: make CSS reloading work on firefox --> * vercel/turborepo#7004 <!-- Tobias Koppers - improve error message when no config is exported from postcss.config.js --> Closes PACK-2231
### Description * collect memory allocation data and report it when tracing is enable * Add value mode to trace server to show memory info Closes PACK-2184
### Description * collect memory allocation data and report it when tracing is enable * Add value mode to trace server to show memory info Closes PACK-2184
### Description * collect memory allocation data and report it when tracing is enable * Add value mode to trace server to show memory info Closes PACK-2184
### Description * collect memory allocation data and report it when tracing is enable * Add value mode to trace server to show memory info Closes PACK-2184
Description
Closes PACK-2184