reactiveui / reactiveui/Primitives
Benchmark the platform dispatcher sequencers
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 15
- Forks
- 3
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 24
Description
The benchmark suite covers every production type that can run on Linux. The platform dispatcher sequencers are not covered, because each needs its own host:
DispatcherSequencer(WPF),ControlSequencer(WinForms) andDispatcherQueueSequencer(WinUI), in both the plain and.Reactivepackages. These need a Windows-targeted benchmark project.MauiDispatcherSequencer, in both packages. This needs a MAUI host.HandlerSequencer(Android) andNSRunloopSequencer(Apple), inReactiveUI.PrimitivesandReactiveUI.Primitives.Reactive. These need a device or simulator run.CoalescingDispatchStateandDispatchWorkItemcompile only into the Android and Apple targets, so they are reached through those sequencers.
Each sequencer should be measured the way the Blazor and Avalonia ones are in ReactiveUI.Primitives.Benchmarks: a burst of scheduled work items and an ObserveOn pipeline, against the platform's own dispatcher call and the System.Reactive scheduler for that host. Work must be drained deterministically rather than waited on.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in ReactiveUI.Primitives.Benchmarks by reading the existing Blazor and Avalonia benchmarks, then identify the Windows, MAUI, Android, and Apple benchmark hosts needed for the listed sequencers. Measure scheduled-work bursts and ObserveOn against each platform dispatcher and its System.Reactive scheduler, with deterministic draining. Done means all listed sequencers and platform-only dispatch types are covered on their target hosts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100