flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.56k stars 321 forks source link

CPU Profiler shows percentages > 100% #6135

Open bkonyi opened 1 year ago

bkonyi commented 1 year ago

Encountered in DevTools 2.25.0 while running in VSCode.

It seems like the duration used to calculate "Total Time" is smaller than the total time spent executing under some methods.

Screenshot:

image

Data: dart_devtools_2023-08-01_12_22_30.662.json.zip

FYI @kenzieschmoll

bkonyi commented 1 year ago

I did a quick experiment where I cleared the profile, waited ~5 seconds, and then loaded all the samples. The duration shown at the bottom of the profiler seems about right, but we have entries with "Total Time" > 10 seconds:

image