pub struct FibBenchmarkReceiptV1 {Show 16 fields
pub schema_version: String,
pub corpus_label: String,
pub profile_digest: String,
pub codebook_digest: String,
pub rotation_digest: String,
pub vector_count: usize,
pub query_count: usize,
pub k: usize,
pub compression_ratio: f64,
pub mean_cosine_similarity: f64,
pub mean_mse: f64,
pub recall_at_k: f64,
pub ndcg_at_k: f64,
pub encode_elapsed_micros: u128,
pub decode_elapsed_micros: u128,
pub notes: Vec<String>,
}Expand description
Typed benchmark receipt produced by run_benchmark.
Fields§
§schema_version: StringSchema version stamp.
corpus_label: StringCorpus label.
profile_digest: StringProfile digest (BLAKE3 hex).
codebook_digest: StringCodebook digest (BLAKE3 hex).
rotation_digest: StringRotation digest (BLAKE3 hex).
vector_count: usizeNumber of database vectors encoded.
query_count: usizeNumber of queries evaluated.
k: usizeK value used for recall@K and nDCG@K.
compression_ratio: f64Compression ratio (total original bytes / total encoded bytes).
mean_cosine_similarity: f64Mean cosine similarity between original and reconstructed vectors.
mean_mse: f64Mean reconstruction MSE across all database vectors.
recall_at_k: f64Recall@K averaged over all queries.
ndcg_at_k: f64nDCG@K averaged over all queries.
encode_elapsed_micros: u128Total encode time in microseconds.
decode_elapsed_micros: u128Total decode time in microseconds.
notes: Vec<String>Free-form notes about the benchmark run.
Trait Implementations§
Source§impl Clone for FibBenchmarkReceiptV1
impl Clone for FibBenchmarkReceiptV1
Source§fn clone(&self) -> FibBenchmarkReceiptV1
fn clone(&self) -> FibBenchmarkReceiptV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FibBenchmarkReceiptV1
impl Debug for FibBenchmarkReceiptV1
Source§impl<'de> Deserialize<'de> for FibBenchmarkReceiptV1
impl<'de> Deserialize<'de> for FibBenchmarkReceiptV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FibBenchmarkReceiptV1
impl PartialEq for FibBenchmarkReceiptV1
Source§impl Serialize for FibBenchmarkReceiptV1
impl Serialize for FibBenchmarkReceiptV1
impl StructuralPartialEq for FibBenchmarkReceiptV1
Auto Trait Implementations§
impl Freeze for FibBenchmarkReceiptV1
impl RefUnwindSafe for FibBenchmarkReceiptV1
impl Send for FibBenchmarkReceiptV1
impl Sync for FibBenchmarkReceiptV1
impl Unpin for FibBenchmarkReceiptV1
impl UnsafeUnpin for FibBenchmarkReceiptV1
impl UnwindSafe for FibBenchmarkReceiptV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.