Feedback on build + build_runner 2.5.0 #4036
Replies: 4 comments 15 replies
-
Test fixes for generators: Tests that are using Here are the fixes that were needed to I noticed that |
Beta Was this translation helpful? Give feedback.
-
I hope this can be of assistance: 2.4.14:
2.5.0 (run 1):
Run 2:
PC Specifications: My build time has been ~27 seconds for a while now, so no changes in the new release, at least when building fresh. Some of the files listed in the output do not exist, even upon searching my file system. In fact, every time I execute build_runner build it outputs new random "freezed.dart" files that do not exist. The parent file does exist, but nowhere is a freezed.dart sub file referenced. Most of the files are not data classes at all. |
Beta Was this translation helpful? Give feedback.
-
I tried v2.5.1 and the logging is great. Performance is improved too (Around ~%24 cold-build in my case). Here are my results: v2.4.15:
v2.5.1:
The most problematic issue I could notice and that has been there in the previous versions too is the incremental builds long runs. For instance, a change in a file that is not a generated file itself and not that much imported throughout the codebase results in this incremental build time:
The 45-second build time between each minor change and the Analyzer not working during this is a bit suboptimal. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the work. Each time I run the
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Place to put general feedback on the release c014314 :)
Beta Was this translation helpful? Give feedback.
All reactions