Skip to content
Merged
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@ hive-mind-prompt-*.txt
# RuVector intelligence data
.ruvector/
.claude/statusline.sh

# Benchmark generated files
logs/
data/
37 changes: 36 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ members = [
"crates/ruvector-sparse-inference-wasm",
"crates/ruvector-math",
"crates/ruvector-math-wasm",
"examples/benchmarks",
]
resolver = "2"

Expand Down
82 changes: 82 additions & 0 deletions examples/benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
[package]
name = "ruvector-benchmarks"
version = "0.1.0"
edition = "2021"
description = "Comprehensive benchmarks for temporal reasoning and vector operations"
publish = false

[dependencies]
# Core ruvector
ruvector-core = { path = "../../crates/ruvector-core", default-features = false, features = ["parallel"] }

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = { version = "2.0.0-rc.3", features = ["serde"] }

# Error handling
anyhow = "1.0"
thiserror = "2.0"

# Random and numerics
rand = "0.8"
rand_distr = "0.4"

# Parallel processing
rayon = "1.10"

# CLI and progress
clap = { version = "4.5", features = ["derive"] }
indicatif = "0.17"
console = "0.15"

# Async
tokio = { version = "1.41", features = ["rt-multi-thread", "sync", "macros", "time", "fs"] }
futures = "0.3"

# Time handling (critical for temporal benchmarks)
chrono = { version = "0.4", features = ["serde"] }

# Logging and tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }

# Statistics
statistical = "1.0"
hdrhistogram = "7.5"

# HTTP for tool-augmented tests
reqwest = { version = "0.11", features = ["json"] }

# Visualization
plotters = { version = "0.3", optional = true }

# Type theory for verified reasoning (lean-agentic)
lean-agentic = "0.1"

[dev-dependencies]
tempfile = "3.13"

[features]
default = []
visualize = ["plotters"]

[[bin]]
name = "temporal-benchmark"
path = "src/bin/temporal_benchmark.rs"

[[bin]]
name = "vector-benchmark"
path = "src/bin/vector_benchmark.rs"

[[bin]]
name = "swarm-regret"
path = "src/bin/swarm_regret.rs"

[[bin]]
name = "timepuzzle-runner"
path = "src/bin/timepuzzle_runner.rs"

[[bin]]
name = "intelligence-assessment"
path = "src/bin/intelligence_assessment.rs"
Loading