perf: add application workflow benchmark results#342
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 for additional application-architecture patterns (Data Mapper, Materialized View, Unit of Work) and publishes the resulting fluent-vs-generated timing/allocation rows across the repo’s benchmark documentation.
Changes:
- Added dedicated BenchmarkDotNet scenario benchmark classes for Data Mapper, Materialized View, and Unit of Work.
- Updated benchmark snapshot tables in README and docs to include the new scenario rows.
- Extended the published “scenario timing results” table in
docs/guides/benchmark-results.mdwith the new patterns.
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 Data Mapper / Materialized View / Unit of Work rows to the benchmark snapshot table. |
| docs/guides/benchmarks.md | Adds the same new scenario rows to the “Latest Snapshot” section. |
| docs/guides/benchmark-results.md | Adds the same new scenario rows to the “Scenario Timing Results” section. |
| benchmarks/PatternKit.Benchmarks/Application/DataMapperBenchmarks.cs | New scenario benchmark class for Data Mapper construction/execution. |
| benchmarks/PatternKit.Benchmarks/Application/MaterializedViewBenchmarks.cs | New scenario benchmark class for Materialized View construction/execution. |
| benchmarks/PatternKit.Benchmarks/Application/UnitOfWorkBenchmarks.cs | New scenario benchmark class for Unit of Work construction/execution. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| | Unit Of Work | Construction | 49.50 ns | 304 B | 46.91 ns | 304 B | Same allocation; generated was slightly faster in this microbenchmark. | | ||
| | Unit Of Work | Execution | 121.03 ns | 824 B | 96.91 ns | 520 B | Generated reduced execution time and allocation for the checkout commit workflow. | |
| | Unit Of Work | Construction | 49.50 ns | 304 B | 46.91 ns | 304 B | Same allocation; generated was slightly faster in this microbenchmark. | | ||
| | Unit Of Work | Execution | 121.03 ns | 824 B | 96.91 ns | 520 B | Generated reduced execution time and allocation for the checkout commit workflow. | |
| | Unit Of Work | Construction | 49.50 ns | 304 B | 46.91 ns | 304 B | Same allocation; generated was slightly faster in this microbenchmark. | | ||
| | Unit Of Work | Execution | 121.03 ns | 824 B | 96.91 ns | 520 B | Generated reduced execution time and allocation for the checkout commit workflow. | |
Test Results 1 files 1 suites 2m 56s ⏱️ Results for commit 516d2c0. |
Code Coverage |
🔍 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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #342 +/- ##
==========================================
+ Coverage 89.65% 95.64% +5.99%
==========================================
Files 486 486
Lines 40002 40002
Branches 5756 5756
==========================================
+ Hits 35862 38260 +2398
+ Misses 1878 1742 -136
+ Partials 2262 0 -2262
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:
|
Summary
Validation