File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
src/content/tools/devtools Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,15 @@ and Flame chart).
3838To load all available CPU samples without manually
3939recording and stopping, you can click ** Load all CPU samples** ,
4040which pulls all CPU samples that the VM has recorded and
41- stored in its ring buffer, and then displays those
42- CPU samples in the profiler views.
41+ stored in its sample buffer and then
42+ displays those CPU samples in the profiler view.
43+
44+ By default, the VM's sample buffer is used as a ring buffer,
45+ meaning that once it has become full, new samples start
46+ overwriting the oldest ones in the buffer.
47+ To make the VM instead discard all samples collected after
48+ the sample buffer has become full,
49+ pass the ` --profile-startup ` flag to ` dart run ` or ` flutter run ` .
4350
4451### Bottom up
4552
You can’t perform that action at this time.
0 commit comments