flutter/dev/devicelab/lib
Michael Goderbauer c4ad1dc1e9
const vs. non-const widget build benchmark (#148261)
This benchmark illustrates the impact that const'ness has on widget build times by building a widget tree with all const-widgets and then building the same widget tree without any const'ness. Local testing with this benchmark running on a Moto G4 shows that const'ness is 13-16% faster.

I'd like to check this benchmark in because the question of how important widget const'ness is comes up every so often. With this benchmark we have up-to-date data to point people to.
2024-05-16 23:23:14 +00:00
..
command add --exit flag to dev/devicelab/bin/test_runner.dart (#134165) 2023-09-07 19:38:05 +00:00
framework Reland: Update link branches to main (#146882) 2024-04-17 13:16:33 +00:00
tasks const vs. non-const widget build benchmark (#148261) 2024-05-16 23:23:14 +00:00
microbenchmarks.dart Set the CONFIGURATION_BUILD_DIR in generated xcconfig when debugging core device (#134493) 2023-09-13 18:08:35 +00:00