Add BenchmarkDotNet performance benchmarks using Dapr.Testcontainers#1793
Draft
Add BenchmarkDotNet performance benchmarks using Dapr.Testcontainers#1793
Conversation
…ontainers Agent-Logs-Url: https://github.com/dapr/dotnet-sdk/sessions/31166ce7-5f84-4e35-af61-145e4584855b Co-authored-by: WhitWaldo <2238529+WhitWaldo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dapr/dotnet-sdk/sessions/31166ce7-5f84-4e35-af61-145e4584855b Co-authored-by: WhitWaldo <2238529+WhitWaldo@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
WhitWaldo
April 16, 2026 11:00
View session
Contributor
|
@copilot Can you please resolve the merge conflict? |
…benchmarking-project # Conflicts: # all.sln Co-authored-by: WhitWaldo <2238529+WhitWaldo@users.noreply.github.com>
Contributor
Author
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1793 +/- ##
=======================================
Coverage 62.37% 62.37%
=======================================
Files 285 285
Lines 8421 8421
Branches 980 980
=======================================
Hits 5253 5253
Misses 2935 2935
Partials 233 233
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:
|
Contributor
|
@copilot Can you please resolve the git merge conflicts? |
…benchmarking-project # Conflicts: # all.sln Co-authored-by: WhitWaldo <2238529+WhitWaldo@users.noreply.github.com>
Contributor
Author
Resolved in |
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.
Description
Adds a
Dapr.Benchmarksproject that uses BenchmarkDotNet withDapr.Testcontainersto benchmark SDK operations against a real Dapr sidecar — no gRPC mocking required. Includes a separate non-blocking GitHub Actions workflow for informational tracking.Benchmark project (
test/Dapr.Benchmarks/)StateStoreBenchmarks— Save/Get/Delete with Small/Medium/Large payloads against Redis state storePubSubBenchmarks— Publish and end-to-end Publish+Receive via RabbitMQWorkflowBenchmarks— Simple single-activity and fan-out (5 parallel activities) workflow executionDaprBenchmarkBase— Shared infrastructure managingDaprTestEnvironmentlifecycle for[GlobalSetup]/[GlobalCleanup][MemoryDiagnoser]for allocation trackingCI workflow (
.github/workflows/benchmarks.yml)masterpush, weekly schedule,workflow_dispatchBenchmarkResults/as artifacts (90-day retention)sdk_build.ymlThe project is
IsPackable=falseand the nameDapr.Benchmarksintentionally does not match theDapr.*.Test.csproj/Dapr.IntegrationTest.*.csprojCI test discovery globs, so it won't be picked up by existing test jobs.Issue reference
Informational benchmarking infrastructure — no prior issue.
Checklist