Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/content/tools/devtools/cpu-profiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,12 @@ and Flame chart).
To load all available CPU samples without manually
recording and stopping, you can click **Load all CPU samples**,
which pulls all CPU samples that the VM has recorded and
stored in its ring buffer, and then displays those
CPU samples in the profiler views.
stored in its sample buffer, and then displays those
CPU samples in the profiler views. By default, the VM's sample buffer is
used as a ring buffer, meaning that once it has become full, new samples
start overwriting the oldest ones in the buffer. The `--profile-startup` flag
can be passed to `dart run` or `flutter run` to make the VM instead discard
all samples collected after the sample buffer has become full.

### Bottom up

Expand Down
Loading