bench: dependency-free sim micro-benchmarks + CI bench job (P4)

benches/sim_bench.rs (harness=false, zero deps): fixed-iteration ns/op timing for
hpmcu_tick, cru_poll, modbus_read_holding, rga_improcess, membus_poke_peek. Human
timings to stdout, one JSON trend line per bench to stderr for CI capture. New CI
`bench` job smoke-runs them. Regression-vs-history gating is future work.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017wB8KB3MMQztRDXCMCkPrf
This commit is contained in:
BFE Engineering
2026-08-25 14:15:22 -06:00
co-authored by Claude Opus 4.8
parent a6b60c2484
commit 6fcfb80e5a
3 changed files with 96 additions and 0 deletions
+5
View File
@@ -12,3 +12,8 @@ path = "src/lib.rs"
[dependencies]
[dev-dependencies]
# Dependency-free micro-benchmarks (fixed-iteration timing, no criterion tree).
[[bench]]
name = "sim_bench"
harness = false