build icon indicating copy to clipboard operation
build copied to clipboard

Fast small builds

Open davidmorgan opened this issue 7 months ago • 3 comments

The opposite end of the performance characteristics to #3811 is that build_runner should be fast for small builds: i.e. as well as scaling well, the entry cost should be low.

davidmorgan avatar May 27 '25 07:05 davidmorgan

Small builds are decent already.

IMO the only real issues are:

  • developer experience around command line and other IDE thingy
  • poor scaling due to cyclic implrts contently causing everything to be regenerated

rrousselGit avatar May 27 '25 07:05 rrousselGit

Yes, those are higher priority.

Still, I think if it's possible to turn today's 2-4s for tiny builds into 100ms that'll be a nice improvement :)

davidmorgan avatar May 27 '25 07:05 davidmorgan

The dart build behaviour that checks/builds if there is a path/workspace dependency is worth looking into.

Resolving dependencies in [path]... 
Downloading packages... 
Got dependencies in [path].
Resolving dependencies in [path]... 
Downloading packages... 
Got dependencies in [path].
Building package executable... 

davidmorgan avatar Jun 18 '25 16:06 davidmorgan