Here the frame took 160ms but build+layout is over 300ms. Looking at the timeline, It seems like the value for build is calculated incorrectly or the two times can overlap due to cascading builds and layouts and we need to factor that into the UI to not double count.


Repro json file.
dart_devtools_2022-09-23_09:03:04.681.json.txt
Here the frame took 160ms but build+layout is over 300ms. Looking at the timeline, It seems like the value for build is calculated incorrectly or the two times can overlap due to cascading builds and layouts and we need to factor that into the UI to not double count.
Repro json file.
dart_devtools_2022-09-23_09:03:04.681.json.txt