Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,12 @@ class TimelineEventsController extends PerformanceFeatureController
@visibleForTesting
late final Uint8ListRingBuffer traceRingBuffer;

/// Size limit in GB for [traceRingBuffer] that determines when traces should
/// be removed from the queue.
final _traceRingBufferSize = convertBytes(
1,
from: ByteUnit.gb,
to: ByteUnit.byte,
).round();
/// Size limit for [traceRingBuffer] that determines when traces should be
/// removed from the queue.
///
/// Wasm sets a size limit on byte arrays of int32 max which is specifically
/// 1 less than 1 << 31.
final _traceRingBufferSize = (1 << 31) - 1;

/// Track events that we have received from the VM, but have not yet
/// processed.
Expand Down
Loading