QueryPayloadBenchResult class

Result of BenchmarkService.benchmarkQueryPayload.

This is a query-path baseline: it counts UTF-8 bytes of strings surfaced to Dart by each search shape, plus native lower-bound content rows/bytes read by the current query path. It does not try to account for allocator copies or FFI serialization overhead.

Constructors

QueryPayloadBenchResult({required int topK, required int adjacentChunks, required int previewMaxBytes, required QueryPayloadVariantStats legacySearchHybrid, required QueryPayloadVariantStats handleFull, required QueryPayloadVariantStats handlePreview, required QueryPayloadVariantStats handleContextOnly})
const

Properties

adjacentChunks int
final
handleContextOnly QueryPayloadVariantStats
final
handleFull QueryPayloadVariantStats
final
handlePreview QueryPayloadVariantStats
final
hashCode int
The hash code for this object.
no setterinherited
legacySearchHybrid QueryPayloadVariantStats
final
previewMaxBytes int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topK int
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