[turbopack] Use `final_read_hint` in top level turbo tasks (#94712)
Use `final_read_hint` on top level turbo tasks For many top level tasks where we are returning data there is no need for turbo-tasks to hold on to it afterwars, but these are typically also _transient_ and thus un-evictable. So use the `final_read_hint` to allow turbo tasks to drop the cell after reading it. The biggest impact here is HmrUpdateWithIssues that holds a potentially large hmr instruction. From a simple benchmark loading 50 routes on a large site this drops the post eviction heap from 4.3G->2.5G
Showing
Please
register
or
sign in
to comment