Trying experimental performance work #3834
Replies: 4 comments 12 replies
-
@gmpassos wrote: I’ve added your NOTE: This is a preliminary benchmark and should not be considered final until all optimizations are fully implemented. To force a full build, I’m running the following commands on macOS:
|
Beta Was this translation helpful? Give feedback.
-
it is failed
|
Beta Was this translation helpful? Give feedback.
-
Hey @davidmorgan, thanks for your work here. I'm sure I speak for a lot of folks in saying that it's exciting to see work going towards Just wanted to add results from my project here, in case they might be helpful. These results come from https://github.com/anthem-audio/anthem/. Some notes about my usage of
If you want to reproduce these tests, you can clone the repo above, and do the following:
I am running these tests on Windows 11 / x64. Current resolverBelow are timing results from a few runs, with the current behavior. Here is the command I'm running:
I am making trivial edits to And the results:
I find the decreasing actions here interesting, though I haven't paid much attention to this before and it may be normal. I ran a Experimental resolverHere's the command I'm using for the experimental resolver:
And the results:
|
Beta Was this translation helpful? Give feedback.
-
I'd say I'm about 70% of the way through the refactoring needed before I can make real performance improvements :) ... you can see from the stream of PRs what I meant when I said it's complicated ;) Right now it should actually be a bit slower than before. But still I'd appreciate some test runs please, to check whether I broke anything :) ... the refactoring affects both running with and without The latest hash for your Thanks :) |
Beta Was this translation helpful? Give feedback.
-
Forked from #3800, "Discussions" seems a better place for people to add feedback, so let's try it here :)
@gmpassos it will be annoying to try without a flag; a flag will also be useful for me, so I'll look at adding one #3831.
In terms of feedback, performance measurements are actually not particularly useful yet as I still have a lot to do there :) but it would be helpful for people to start checking to see if I actually broke something, i.e. if the new version is incorrect somehow.
Here are dependency overrides that use my PR adding the flag, so if you put this in your
pubspec.yaml
and pass--use-experimental-resolver
when you runbuild_runner build
orbuild_runner watch
then that's the new codepath :)Beta Was this translation helpful? Give feedback.
All reactions