Pub should more efficiently serialize barback assets #14430
Labels
P1
A high priority bug; for example, a single project is unusable or has many test failures
Milestone
Currently when pub passes a barback asset between isolates, the contents of the asset is always streamed from one isolate to the other. There are two important optimizations that could be made here:
* The cross-isolate streaming could be kicked off only when the destination isolate tries to read the asset's contents, to prevent data being passed along that will go unused.
* FileAssets could be passed by name and loaded natively within the isolate accessing the file rather than piped from the main isolate.
The text was updated successfully, but these errors were encountered: