View AppController.cs
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
namespace WebApplication30
{
public class AppController : Controller
{
public virtual void ConfigureServices(IServiceCollection services)
View HostedService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
namespace WebApplication24
{
public abstract class HostedService : IHostedService
View pipes.cs
using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.Kestrel.Internal.System.IO.Pipelines;
namespace WebApplication19
{
public class Program
{
public static async Task Main(string[] args)
View ExchangeTypes.cs
// Anything that can fire a one shot callback
interface IEventable
{
bool IsTriggered { get; set; }
void Register(Action<object> callback, object state);
}
class Task : IEventable { }
class ManualResetEvent : IEventable { }
class CancellationToken : IEventable { }
View DelayCounter.cs
public IObservable<int> ObservableCounter(int count, int delay)
{
return Observable.Range(0, count).Zip(
Observable.Interval(TimeSpan.FromMilliseconds(delay)), (item, _) => item);
}
View works.cs
using System;
using System.IO;
namespace ConsoleApp19
{
class Program
{
static void Main(string[] args)
{
var ms = new MemoryStream();
View Raw.cs
using System;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http;
using Microsoft.AspNetCore.Server.Kestrel.Internal.System;
using Microsoft.AspNetCore.Server.Kestrel.Internal.System.IO.Pipelines;
using Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions;
View LatestBenchmarks.md

feature/dev-si (base line)

Method Mean StdErr StdDev Scaled Scaled-StdDev RPS Gen 0 Allocated
ParsePlaintextTechEmpower 2.0483 us 0.0150 us 0.0822 us 1.00 0.00 488,200.52 - 355 B
ParsePipelinedPlaintextTechEmpower 1.6980 us 0.0139 us 0.0764 us 0.83 0.05 588,921.33 - 344 B
ParseLiveAspNet 5.2135 us 0.0707 us 0.3870 us 2.55 0.21 191,810.41 - 1.11 kB
ParsePipelinedLiveAspNet 5.0287 us 0.0448 us 0.2456 us 2.46 0.15 198,859.71 - 1.1 kB
ParseUnicode 8.1457 us 0.0646 us 0.3540 us 3.98 0.22 122,763.79 - 1.94 kB
ParseUnicodePipelined 8.0588 us 0.05
View Azurevm.md

Dev

                   Method |       Mean |    StdDev | Scaled | Scaled-StdDev |        RPS |
------------------------- |----------- |---------- |------- |-------------- |----------- |
           ParsePlaintext |  1.9746 us | 0.1077 us |   1.00 |          0.00 | 506,425.99 |
  ParsePipelinedPlaintext |  1.5634 us | 0.0461 us |   0.79 |          0.04 | 639,627.04 |
          ParseLiveAspNet |  6.9810 us | 0.3158 us |   3.54 |          0.23 | 143,245.89 |
 ParsePipelinedLiveAspNet |  7.3884 us | 0.2028 us |   3.75 |          0.21 | 135,347.64 |
             ParseUnicode | 13.6600 us | 0.4350 us |   6.94 |          0.40 |  73,206.52 |
View assets.json
{
"version": 2,
"targets": {
".NETFramework,Version=v4.6": {
"Microsoft.AspNetCore.SignalR.Client/1.0.0-preview1-23482": {
"type": "package",
"dependencies": {
"Microsoft.AspNetCore.SignalR.Common": "1.0.0-preview1-23482",
"Microsoft.AspNetCore.Sockets.Client": "1.0.0-preview1-23482",
"NETStandard.Library": "1.6.1"