Add SignalR Native AOT benchmarks

Open
#2,012 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
performance

Research direction

Start by locating the existing SignalR benchmark scenario and the nativeAOT benchmark table, then trace how the coreclr, nativeAOT, and TrimR2RSingleFile targets are configured. Done means the JSON-over-WebSockets echo or echoAll scenario runs for all three targets and its results appear in the nativeAOT table.

Written by the indexing model from the issue text.

Description

.NET 9 added support for native AOT'ing SignalR. We should add a scenario to our benchmarks.

The current thinking is to reuse the SignalR scenario:

  • json protocol
  • websockets
  • Either echo or echoAll

And put the results in the "nativeAOT" benchmark table.

We can run this scenario against:

  • coreclr
  • nativeAOT
  • TrimR2RSingleFile
Dominant language
C#
Stars
1.2k
Forks
244
Avg merge
4d 4h
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aspnet/Benchmarks

All issues in aspnet/Benchmarks

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.