What problem does it solve?
This skill solves the challenge of getting accurate, real-world performance comparisons between MediatorLite and MediatR by eliminating test drift and ensuring both implementations are tested in identical, production-like ASP.NET Core + EF Core scenarios.
Core Features & Use Cases
- End-to-end benchmark harness: Runs realistic ASP.NET Core minimal API workflows with EF Core SQLite persistence to measure actual dispatch cost, not synthetic microbenchmarks.
- Built-in parity validation: The BenchmarkParityGuard automatically verifies that both mediator implementations have identical handler, behavior, and validator counts at startup, so any performance difference is attributable to the mediator itself, not test configuration drift.
- Configurable test matrix: Test across multiple axes including in-process TestServer vs localhost Kestrel transport, medium/large datasets, and 1/8/32 concurrent request levels.
- Use case: Use this to validate that changes to MediatorLite's source generator do not introduce performance regressions compared to MediatR, or to diagnose unexpected benchmark result changes by catching parity issues before test runs.
Quick Start
Use this skill to run the full MediatorLite vs MediatR REST API benchmark matrix and identify performance regressions in mediator dispatch for production-like ASP.NET Core applications.