What problem does it solve?
Manually setting up fair, apples-to-apples performance comparisons between MediatorLite and MediatR is tedious and error-prone, requiring careful DI container configuration, observability disablement, and BenchmarkDotNet setup to avoid skewed, non-representative results.
Core Features & Use Cases
- Pre-configured Benchmark Harness: Includes ready-to-run BenchmarkDotNet setup with MemoryDiagnoser, standard warmup/iteration counts, and pre-built DI containers for both MediatorLite and MediatR to ensure test parity.
- Comprehensive Scenario Coverage: Four pre-built benchmark classes test simple request dispatch, single pipeline behavior, multiple stacked behaviors, and sequential/parallel notification publishing.
- Use Case: .NET library maintainers can use this skill to validate performance regressions in MediatorLite's source-generated dispatch, or contributors can add new benchmark scenarios for features like streaming or open generic behaviors.
Quick Start
Use the mediatorlite-benchmarks skill to run the full performance benchmark suite and retrieve the latest MediatorLite vs MediatR comparison results.