mix raxol_payments.bench (Raxol Payments v0.2.0)

Copy Markdown View Source

Measures the throughput of the fund-moving hot paths that actually gate DEX volume: secp256k1 signing, atomic ledger reservations, and idempotency checkpoint reads/writes. (The render frame budget does not gate volume; these do.)

mix raxol_payments.bench
mix raxol_payments.bench --iterations 20000 --concurrency 16

Reports operations/sec and average latency per path. The concurrent ledger figure exercises the single-GenServer reservation point (Ledger.try_spend), the serialization ceiling for spend decisions.

The signing bench sets a throwaway key in RAXOL_WALLET_KEY for the run and clears it after; it is for local measurement only.