next.js
6b0724ba - Turbopack: less turbo tasks for `chunk_item.id()` (#76110)

Commit
1 year ago
Turbopack: less turbo tasks for `chunk_item.id()` (#76110) - Every `EcmascriptChunkItem` already had a `chunking_context()` getter via the `ChunkItem` supertrait. - Produce less turbo tasks for `chunk_item.id()` - In the future, we really want to move `chunking_context.chunk_item_id()` to the module graph, (or split it out and instead pass a `Vc<ModuleIdStrategy>`). That is however a refactoring we don't need to do right now. This showed up in the traces, but overall it doesn't seem to have an effect on perf. Before: ![Bildschirmfoto 2025-02-17 um 09 34 05](https://github.com/user-attachments/assets/99b4816e-9056-418c-8d69-4d6535b9d296) After: ![Bildschirmfoto 2025-02-17 um 13 43 04](https://github.com/user-attachments/assets/e4409ef6-831e-464f-900c-ec071b916a88)
Author
Parents
Loading