Repository navigation
feat(benchmarks): add DispatchR 2.3.1 comparison suite - #18
Merged
Merged
Conversation
- 260 cases in 18 classes: Task, void, ValueTask and ValueTask void requests, streams, sequential events, catalog size, mixed traffic, short circuit, and direct-handler references. - Both dispatchers run scoped, since DispatchR registers IMediator as scoped only. - The probe now fails a class whose message fields do not carry its Completion parameter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a BenchmarkDotNet suite on .NET 10 that compares RequestFlow with DispatchR.Mediator 2.3.1, the latest release. No timing results are published yet.
RequestFlow.Benchmarks.DispatchR: 260 cases covering Task, void, ValueTask and ValueTask void requests, streams, sequential events, catalog size, mixed traffic, short-circuit pipelines, and direct-handler references.IMediatoras scoped with no lifetime option.TaskorValueTaskof an empty struct.probefails a class whose message fields do not carry itsCompletionparameter. The shared check also runs for the MediatR suite.benchmarks/README.mdlists the suite, its filters, and its case counts.Validation:
probepassed for the DispatchR comparison: 18 classes, 130 parameter sets, 260 cases.probepassed for the MediatR comparison after the shared check change: 15 classes, 112 parameter sets, 224 cases.