IngestHeapBenchResult class
Result of BenchmarkService.benchmarkIngestHeap.
Each *PeakDeltaBytes field is peak_rss - baseline_rss in bytes
observed during that variant's run, with a 5 ms sampler. Useful for
confirming the empirical "from_file holds no Dart-side body" claim.
Caveats: full-process RSS is noisy and includes Rust + ONNX + framework allocations. Use the relative ordering and approximate magnitude, not absolute numbers.
Constructors
- IngestHeapBenchResult({required int docBytes, required int stringPathPeakDeltaBytes, required int utf8PathPeakDeltaBytes, required int filePathPeakDeltaBytes})
-
const
Properties
- docBytes → int
-
Document size in UTF-8 bytes.
final
- filePathPeakDeltaBytes → int
-
peak_rss − baseline_rss for
prepareSourceIngestionFromFile. The caller never holds the body; the only Dart-side memory it pays for is the path string.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringPathPeakDeltaBytes → int
-
peak_rss − baseline_rss for
prepareSourceIngestion(String)path (the caller reads bytes thenutf8.decodes into a DartString).final - utf8PathPeakDeltaBytes → int
-
peak_rss − baseline_rss for
prepareSourceIngestionFromUtf8.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
renderSummary(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited