Skip to content

Add System.Reactive vs R3 benchmark cases#6

Merged
ChrisPulman merged 2 commits into
mainfrom
AddMoreBenchmarks
May 27, 2026
Merged

Add System.Reactive vs R3 benchmark cases#6
ChrisPulman merged 2 commits into
mainfrom
AddMoreBenchmarks

Conversation

@ChrisPulman
Copy link
Copy Markdown
Member

Add comparative benchmark implementations that exercise System.Reactive and the R3 APIs across many benchmark suites. Introduces new benchmark methods (create/defer/start/unfold/use/from-async-enumerable/never, connectable/share/replay/refcount/auto-connect, higher-order ops, time/scheduler ops, composite/notify/notification paths, etc.), a CountingR3Observer and LastValue on IntR3Observer, and an ImmediateSynchronizationContext helper.
Program.cs updated to run the new cases, and Microsoft.Extensions.TimeProvider.Testing was added to Directory.Packages.props to support time-based tests.
Update README benchmark section with newly generated results from the joined BenchmarkDotNet CSV and clarify that the table uses "Mean / Allocated" for each cell.
This replaces the previous benchmark numbers and updates several scenario labels and measurements (e.g., "Timeout never" -> "Timeout idle"), reflecting a fresh run of the benchmarks.

Add comparative benchmark implementations that exercise System.Reactive and the R3 APIs across many benchmark suites. Introduces new benchmark methods (create/defer/start/unfold/use/from-async-enumerable/never, connectable/share/replay/refcount/auto-connect, higher-order ops, time/scheduler ops, composite/notify/notification paths, etc.), a CountingR3Observer and LastValue on IntR3Observer, and an ImmediateSynchronizationContext helper. Program.cs updated to run the new cases, and Microsoft.Extensions.TimeProvider.Testing was added to Directory.Packages.props to support time-based tests.
Update README benchmark section with newly generated results from the joined BenchmarkDotNet CSV and clarify that the table uses "Mean / Allocated" for each cell. This replaces the previous benchmark numbers and updates several scenario labels and measurements (e.g., "Timeout never" -> "Timeout idle"), reflecting a fresh run of the benchmarks.
@sonarqubecloud
Copy link
Copy Markdown

@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.95%. Comparing base (4dee12c) to head (8e7e734).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   77.91%   77.95%   +0.03%     
==========================================
  Files         105      105              
  Lines        5347     5347              
  Branches      970      970              
==========================================
+ Hits         4166     4168       +2     
+ Misses        898      895       -3     
- Partials      283      284       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ChrisPulman ChrisPulman merged commit 98cd836 into main May 27, 2026
14 checks passed
@ChrisPulman ChrisPulman deleted the AddMoreBenchmarks branch May 27, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant