flutter / flutter/devtools

CPU Profiler shows percentages > 100%

Open
#6,135 1 comment 0 reactions 0 assignees View on GitHub
fix it friday P2 screen: cpu profiler
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

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](https://github.com/flutter/devtools/files/12231861/dart_devtools_2023-08-01_12_22_30.662.json.zip)

FYI @kenzieschmoll

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the CPU Profiler issue in DevTools 2.25.0 using the attached dart_devtools_2023-08-01_12_22_30.662.json.zip data. Inspect how Total Time and method execution durations are compared; done means profiler percentages remain at or below 100% for the affected profile.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.