Skip to content

Instantly share code, notes, and snippets.

@ilmax
Last active March 16, 2018 15:21
Show Gist options
  • Save ilmax/f5dfe6835d9215109b3fb7ba3702fef8 to your computer and use it in GitHub Desktop.
Save ilmax/f5dfe6835d9215109b3fb7ba3702fef8 to your computer and use it in GitHub Desktop.
Asp.net core 2.1 prev1 perf comparison

IIS ANCM 2.1 preview1 hosting in process

Running 30s test @ http://localhost:8080/api/values/5
  12 threads and 50 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.34ms  371.95us  18.71ms   96.25%
    Req/Sec     3.00k   212.61     5.64k    83.34%
  Latency Distribution
     50%    1.30ms
     75%    1.39ms
     90%    1.52ms
     99%    2.05ms
  1077413 requests in 30.10s, 176.73MB read
Requests/sec:  35795.11
Transfer/sec:      5.87MB

IIS ANCM 2.1 preview1 hosting out of process

Running 30s test @ http://localhost:8080/api/values/5
  12 threads and 50 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     4.58ms  565.05us  15.90ms   81.44%
    Req/Sec     0.88k    49.57     1.08k    76.14%
  Latency Distribution
     50%    4.47ms
     75%    4.79ms
     90%    5.21ms
     99%    6.45ms
  314280 requests in 30.06s, 53.95MB read
Requests/sec:  10456.55
Transfer/sec:      1.80MB

Kestrel hosting

Running 30s test @ http://localhost:5000/api/values/5
  12 threads and 50 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.41ms    3.37ms  61.78ms   96.46%
    Req/Sec     4.35k     2.20k   12.00k    68.18%
  Latency Distribution
     50%  794.00us
     75%    1.19ms
     90%    2.15ms
     99%   15.85ms
  1553814 requests in 30.09s, 232.65MB read
Requests/sec:  51630.59
Transfer/sec:      7.73MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment