Performance Benchmarking Suite #247

Closed
opened 2025-12-28 20:00:17 -08:00 by jwilger · 0 comments
jwilger commented 2025-12-28 20:00:17 -08:00 (Migrated from github.com)

Overview

Establish performance baselines and track regressions using Criterion.rs benchmarks. Comprehensive benchmark suite measuring throughput, latency, and memory usage for key operations.

Benchmark Suite

  • Single-stream command execution
  • Multi-stream command execution
  • Event append throughput
  • State reconstruction performance
  • PostgreSQL vs in-memory comparison

Criterion.rs Output

  • Reports ops/sec
  • Latency percentiles (P50, P95, P99)
  • Results stored for regression tracking

Acceptance Criteria

  • Benchmark suite with representative commands
  • cargo bench reports ops/sec and latency percentiles
  • Results stored for regression tracking
  • Regression detection with configurable threshold (e.g., 10%)
  • CI integration for automated regression detection

Migrated from beads issue: eventcore-011

## Overview Establish performance baselines and track regressions using Criterion.rs benchmarks. Comprehensive benchmark suite measuring throughput, latency, and memory usage for key operations. ## Benchmark Suite - Single-stream command execution - Multi-stream command execution - Event append throughput - State reconstruction performance - PostgreSQL vs in-memory comparison ## Criterion.rs Output - Reports ops/sec - Latency percentiles (P50, P95, P99) - Results stored for regression tracking ## Acceptance Criteria - [ ] Benchmark suite with representative commands - [ ] `cargo bench` reports ops/sec and latency percentiles - [ ] Results stored for regression tracking - [ ] Regression detection with configurable threshold (e.g., 10%) - [ ] CI integration for automated regression detection --- *Migrated from beads issue: eventcore-011*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jwilger/eventcore#247
No description provided.