Skip to content

Instantly share code, notes, and snippets.

Stefan Tornhoof

Block or report user

Report or block Tornhoof

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Tornhoof
Tornhoof / SystemTextJsonBenchmarks.md
Created May 28, 2019
Benchmarks for System.Text.Json.JsonSerializer
View SystemTextJsonBenchmarks.md
BenchmarkDotNet=v0.11.5, OS=Windows 10.0.18362
Intel Core i9-9900K CPU 3.60GHz (Coffee Lake), 1 CPU, 16 logical and 8 physical cores
.NET Core SDK=3.0.100-preview6-012085
  [Host]     : .NET Core 3.0.0-preview6-27724-03 (CoreCLR 3.0.19.27471, CoreFX 4.700.19.27405), 64bit RyuJIT
  Job-HKNIHV : .NET Core 3.0.0-preview6-27724-03 (CoreCLR 3.0.19.27471, CoreFX 4.700.19.27405), 64bit RyuJIT

UnrollFactor=2  
@Tornhoof
Tornhoof / Benchmarks.md
Last active Dec 8, 2018
PBKDF2 Benchmarks
View Benchmarks.md
BenchmarkDotNet=v0.11.3, OS=Windows 10.0.17763.134 (1809/October2018Update/Redstone5)
Intel Core i9-9900K CPU 3.60GHz, 1 CPU, 16 logical and 8 physical cores
.NET Core SDK=2.2.100
  [Host]     : .NET Core 2.2.0 (CoreCLR 4.6.27110.04, CoreFX 4.6.27110.04), 64bit RyuJIT
  DefaultJob : .NET Core 2.2.0 (CoreCLR 4.6.27110.04, CoreFX 4.6.27110.04), 64bit RyuJIT
@Tornhoof
Tornhoof / Versions.md
Created Nov 12, 2018
NetCoreApp version vs. Asp.NET Core App Version
View Versions.md
.NET Core SDK (gemäß "global.json"):
 Version:   2.1.403
 Commit:    04e15494b6

Laufzeitumgebung:
 OS Name:     Windows
 OS Version:  10.0.17763
 OS Platform: Windows
View IntegerJumpTable.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
@Tornhoof
Tornhoof / TieringDisabled.txt
Last active Aug 1, 2018
SpanJsonTieringBenchmarkLogs
View TieringDisabled.txt
// ***** BenchmarkRunner: Start *****
// Found benchmarks:
// SelectedBenchmarks.DeserializeAnswerWithSpanJsonSerializer: Job-TJIAIH(Toolchain=myget builds)
// SelectedBenchmarks.DeserializeAnswerWithSpanJsonSerializerUtf8: Job-TJIAIH(Toolchain=myget builds)
// SelectedBenchmarks.SerializeAnswerWithSpanJsonSerializer: Job-TJIAIH(Toolchain=myget builds)
// SelectedBenchmarks.SerializeAnswerWithSpanJsonSerializerUtf8: Job-TJIAIH(Toolchain=myget builds)
// Validating benchmarks:
// ***** Building 4 benchmark(s) in Parallel: Start *****
// ***** Done, took 00:00:11 (11.37 sec) *****
View stringcreate.cs
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
using BenchmarkDotNet.Running;
using Newtonsoft.Json;
namespace ConsoleApp34
View HttpClientFactoryFixture.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.NetworkInformation;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Connections.Features;
@Tornhoof
Tornhoof / DateTimeBenchmark
Created Apr 6, 2018
DateTime Formatting/Parsing
View DateTimeBenchmark
using System;
using System.Buffers.Text;
using System.Globalization;
using System.Text;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
namespace FormatterBenchmark
{
internal class Program
@Tornhoof
Tornhoof / FormattingBenchmark.cs
Created Apr 6, 2018
Utf8Formatter vs CoreCLR
View FormattingBenchmark.cs
using System;
using System.Buffers.Text;
using System.Globalization;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
namespace FormatterBenchmark
{
internal class Program
{
@Tornhoof
Tornhoof / Benchmark.cs
Last active Apr 5, 2018
Benchmark Integer Formatting
View Benchmark.cs
using System;
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
namespace FormatIntegerPerformance
{
class Program
{
static void Main(string[] args)
You can’t perform that action at this time.