We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0526506 commit 703e34aCopy full SHA for 703e34a
1 file changed
src/components/shared/thread/ActivityGraphFills.tsx
@@ -311,6 +311,13 @@ export class ActivityGraphFillComputer {
311
for (let i = 0; i < samples.length; i++) {
312
const halfwayPositionAfter = halfwayPositions[i + 1];
313
const afterSampleCpuPercent = threadCPUPercent[i + 1];
314
+
315
+ if (beforeSampleCpuPercent === 0 && afterSampleCpuPercent === 0) {
316
+ halfwayPositionBefore = halfwayPositionAfter;
317
+ beforeSampleCpuPercent = afterSampleCpuPercent;
318
+ continue;
319
+ }
320
321
const category = samples.category[i];
322
323
const bufferIndex =
0 commit comments