perf: add application service benchmark results#343
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
Pull request overview
Adds BenchmarkDotNet scenario coverage and published results for additional application-architecture patterns (Domain Event, Service Layer, Transaction Script), supporting the ongoing benchmark coverage work in #330.
Changes:
- Publishes new fluent-vs-generated construction/execution rows for Domain Event, Service Layer, and Transaction Script in the README and benchmark guides.
- Adds dedicated BenchmarkDotNet scenario benchmark classes for the three application patterns.
- Extends the published benchmark-results matrix to include the new scenarios (Construction + Execution).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds published result rows for the three new scenarios. |
| docs/guides/benchmarks.md | Updates the benchmark guidance table with the new scenario rows. |
| docs/guides/benchmark-results.md | Adds the new scenarios to the published results matrix (required for benchmark coverage tests). |
| benchmarks/PatternKit.Benchmarks/Application/TransactionScriptBenchmarks.cs | New dedicated scenario benchmarks for Transaction Script. |
| benchmarks/PatternKit.Benchmarks/Application/ServiceLayerBenchmarks.cs | New dedicated scenario benchmarks for Service Layer. |
| benchmarks/PatternKit.Benchmarks/Application/DomainEventBenchmarks.cs | New dedicated scenario benchmarks for Domain Event. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| public IDomainEventDispatcher<OrderDomainEvent> Generated_CreateDispatcher() | ||
| => GeneratedOrderDomainEvents.CreateDispatcher(); |
| public IServiceOperation<RegisterCustomerRequest, CustomerRegistrationReceipt> Generated_CreateOperation() | ||
| => GeneratedCustomerServiceLayer.CreateOperation(); |
| public ITransactionScript<SubmitOrderRequest, SubmitOrderReceipt> Generated_CreateScript() | ||
| => GeneratedSubmitOrderScript.CreateScript(); |
Test Results 1 files 1 suites 2m 12s ⏱️ Results for commit 3fc8739. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #343 +/- ##
==========================================
+ Coverage 89.65% 95.64% +5.99%
==========================================
Files 486 486
Lines 40002 40002
Branches 5756 5756
==========================================
+ Hits 35864 38261 +2397
+ Misses 1877 1741 -136
+ Partials 2261 0 -2261
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🔍 PR Validation ResultsVersion: `` ✅ Validation Steps
📊 ArtifactsDry-run artifacts have been uploaded and will be available for 7 days. This comment was automatically generated by the PR validation workflow. |
Code Coverage |
Summary
Validation
Closes part of #330