aspnetcore/benchmarkapps/BenchmarkServer
BrennanConroy 4b52428a4d
EchoAll scenario doesn't work well with warmup (#2143)
2018-04-25 13:32:24 -07:00
..
Hubs Move Benchmark Apps to new folder and use .All package when Benchmarks runs our scenarios (#1965) 2018-04-12 08:28:12 -07:00
BenchmarkServer.csproj Use correct MessagePack in Benchmarks (#2066) 2018-04-17 21:50:26 -07:00
Program.cs Move Benchmark Apps to new folder and use .All package when Benchmarks runs our scenarios (#1965) 2018-04-12 08:28:12 -07:00
README.md Update BenchmarkServer readme 2018-04-25 09:52:11 -07:00
Startup.cs Move Benchmark Apps to new folder and use .All package when Benchmarks runs our scenarios (#1965) 2018-04-12 08:28:12 -07:00
signalr.json EchoAll scenario doesn't work well with warmup (#2143) 2018-04-25 13:32:24 -07:00

README.md

Purpose

This project is to assist in Benchmarking SignalR. It makes it easier to test local changes than having the App in the Benchmarks repo by letting us make changes in signalr branches and using the example commandline below to run the benchmarks against our branches.

The SignalRWorker that runs against this server is located at https://github.com/aspnet/benchmarks/blob/dev/src/BenchmarksClient/Workers/SignalRWorker.cs.

Usage

  1. Push changes you would like to test to a branch on GitHub
  2. Clone aspnet/benchmarks repo to your machine or install the global BenchmarksDriver tool https://www.nuget.org/packages/BenchmarksDriver/
  3. If cloned go to the BenchmarksDriver project
  4. Use the following command as a guideline for running a test using your changes

benchmarks --server <server-endpoint> --client <client-endpoint> -p TransportType=WebSockets -p HubProtocol=messagepack -j https://raw.githubusercontent.com/aspnet/SignalR/dev/benchmarks/BenchmarkServer/signalr.json

  1. For more info/commands see https://github.com/aspnet/benchmarks/blob/dev/src/BenchmarksDriver/README.md