b0968395f1
Rationale: Inlining constant constructors/mixin is practically always profitable. So the heuristics have been changed to at least consider these even at higher depth (note that they are of course still subject to actual heuristics while inlining). This brings back flutter gallery size to where it was before mixins were introduced. head: VMIsolate(CodeSize): 4737 Isolate(CodeSize): 2005123 101% ReadOnlyData(CodeSize): 2212408 103% Instructions(CodeSize): 7006928 100% Total(CodeSize): 11229196 101% improved heuristic: VMIsolate(CodeSize): 4737 Isolate(CodeSize): 1985691 ReadOnlyData(CodeSize): 2152880 Instructions(CodeSize): 6987616 Total(CodeSize): 11130924 https://github.com/dart-lang/sdk/issues/37126 Change-Id: I28de0fa6c92a785bbc47e9fa09ed55ae68593c0a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112758 Commit-Queue: Aart Bik <ajcbik@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.