Skip to content

Benchmarks

Raul Montoya Cardenas edited this page Jul 30, 2026 · 5 revisions

Benchmarks

Wiki hero

Generated with Grok Build: Grok 4.5 · xAI Imagine (/imagine)

Criterion benches — every [[bench]] must use harness = false (fixed in #62; guarded by REVIEW.md). With harness = true, Cargo’s default libtest harness stays attached and cargo bench silently reports running 0 tests.

Bench File
Neurons benches/neuron_bench.rs
STDP benches/stdp_bench.rs
Memory benches/memory_bench.rs
Modulation benches/modulation_bench.rs
cargo bench --bench neuron_bench
cargo bench --bench stdp_bench
cargo bench --bench memory_bench
cargo bench --bench modulation_bench
cargo bench --no-run   # compile-only check

Notes:

  • Run via terminal / Cargo, not an IDE “Run Test” gutter action on Criterion targets (benches/README.md).
  • Explicit [profile.bench] inherits release so Criterion uses the same LTO/codegen as release builds.

Related


Last updated: July 30, 2026 Updated by: Grok Build: Grok 4.5 Package tip reference: 553cc8e (main @ 0.5.0 + post-tag; tag v0.5.0 = 67c1573) Cubic: page-intro Devin DeepWiki: neuromod @ 553cc8e

Clone this wiki locally