IngestFfiBenchResult class

Result of BenchmarkService.benchmarkIngestFfiTraffic.

Each entry in legacy and session is a cumulative byte/call count from the corresponding Rust counter. The two *TextTraffic totals are the sum of all text-body FFI traffic across the chain (excluding embedding vector traffic, which is tracked separately for transparency).

Constructors

IngestFfiBenchResult({required int docBytes, required int chunkCount, required IngestTrafficStats legacy, required IngestTrafficStats session})
const

Properties

chunkCount → int
Number of chunks the document was split into.
final
docBytes → int
Document size in UTF-8 bytes.
final
hashCode → int
The hash code for this object.
no setterinherited
legacy → IngestTrafficStats
Counter snapshot taken immediately after the legacy chain finished.
final
legacyMultiple → double
no setter
legacyTextTrafficBytes → int
no setter
reductionRatio → double
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
session → IngestTrafficStats
Counter snapshot taken immediately after the IngestSession chain finished.
final
sessionMultiple → double
no setter
sessionTextTrafficBytes → int
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderSummary() → String
Pretty-print a single-block summary of the comparison.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited