mirror of
https://github.com/ruvnet/RuView
synced 2026-08-08 20:11:43 +00:00
1df9d5f7d4
Adds sketch_bench measuring the first ADR-084 acceptance criterion
(8x-30x compare cost reduction) at three dimensions and a realistic
top-K@k=8 over 1024 sketches.
Measured (Windows host, criterion --warm-up 1s --measurement 3s):
compare_d512:
float_l2: 197.03 ns/op
float_cosine: 231.17 ns/op
sketch_hamming: 4.56 ns/op → 43-51x speedup
topk_d128_n1024_k8:
float_l2_topk: 47.59 us
sketch_hamming: 6.34 us → 7.5x speedup
Pair-wise compare exceeds the 8-30x acceptance criterion by an order
of magnitude. Top-K is at 7.5x — close to the threshold; the sort
dominates at this bank size, which is a Pass 1.5 optimization
opportunity (partial-sort heap for small K).
Co-Authored-By: claude-flow <ruv@ruv.net>
41 lines
1.2 KiB
TOML
41 lines
1.2 KiB
TOML
[package]
|
|
name = "wifi-densepose-ruvector"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
description = "RuVector v2.0.4 integration layer — ADR-017 signal processing and MAT ruvector integrations"
|
|
repository.workspace = true
|
|
keywords = ["wifi", "csi", "ruvector", "signal-processing", "disaster-detection"]
|
|
categories = ["science", "computer-vision"]
|
|
readme = "README.md"
|
|
|
|
[features]
|
|
default = []
|
|
crv = ["dep:ruvector-crv", "dep:ruvector-gnn", "dep:serde", "dep:serde_json"]
|
|
|
|
[dependencies]
|
|
ruvector-core = { workspace = true }
|
|
ruvector-mincut = { workspace = true }
|
|
ruvector-attn-mincut = { workspace = true }
|
|
ruvector-temporal-tensor = { workspace = true }
|
|
ruvector-solver = { workspace = true }
|
|
ruvector-attention = { workspace = true }
|
|
ruvector-crv = { workspace = true, optional = true }
|
|
ruvector-gnn = { workspace = true, optional = true }
|
|
thiserror = { workspace = true }
|
|
serde = { workspace = true, optional = true }
|
|
serde_json = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
approx = "0.5"
|
|
criterion = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "crv_bench"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "sketch_bench"
|
|
harness = false
|