INNER CODE UNIT · Dart
bytes
v-modal/vmodal_sdk_flutter · tool/perf_benchmark.dart:82
final bytes = objects.bytes - beforeBytes;
final seconds = watch.elapsedMicroseconds / Duration.microsecondsPerSecond;
stdout.writeln(
jsonEncode(<String, Object?>{
'name': name,
'wall_ms': watch.elapsedMilliseconds,
'mib_per_second': seconds == 0 ? 0 : bytes / 1024 / 1024 / seconds,
'peak_rss_bytes': peakRss,
'rss_growth_bytes': max(0, peakRss - startRss),
'ui_progress_events': events,
'signed_puts': objects.requests - beforeRequests,
'signed_bytes': bytes,
'max_active_signed_puts': objects.maxActive,
}),
);
objects.maxActive = 0;
}