Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Diagnostics;
namespace CodeDrafts
{
static class Program
{
struct A
{
public uint a1;
class Program
{
static void Main(string[] args)
{
var config = new ManualConfig();
config.Add(DefaultConfig.Instance);
config.Add(new MemoryDiagnoser());
BenchmarkRunner.Run<SimpleBenchmark>(config);
}
}
Test Name: CompetitionHighAccuracyBenchmark
Test Outcome: Passed
Result StandardOutput:
// !====================================
// !Run 1, total runs (expected): 1.
// ? #1.1 00,975s, Informational@Analyser: CompetitionAnalyser: All competition limits are ok.
========================================
BenchmarkDotNet=v0.9.7.0
BenchmarkDotNet=v0.9.7.0
OS=Microsoft Windows NT 6.3.9600.0
Processor=Intel(R) Xeon(R) CPU 2.60GHz, ProcessorCount=1
Frequency=10000000 ticks, Resolution=100.0000 ns, Timer=UNKNOWN
HostCLR=MS.NET 4.0.30319.42000, Arch=64-bit RELEASE [RyuJIT]
JitModules=clrjit-v4.6.1055.0
Type=SimplePerfTest Mode=SingleRun Toolchain=InProcessToolchain
LaunchCount=1 WarmupCount=200 TargetCount=500
PS C:\Users\igors\Documents\visual studio 2015\Projects\ConsoleApplication2\packages> dir
Каталог: C:\Users\igors\Documents\visual studio 2015\Projects\ConsoleApplication2\packages
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 07.07.2016 11:09 BenchmarkDotNet.0.9.8
d----- 07.07.2016 11:09 Microsoft.CodeAnalysis.Analyzers.1.1.0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using CodeJam.Arithmetic;
using CodeJam.Collections;
using CodeJam.PerfTests;
using JetBrains.Annotations;
BenchmarkDotNet=v0.9.7.0
OS=Microsoft Windows NT 10.0.10586.0
Processor=Intel(R) Core(TM) i5-2550K CPU 3.40GHz, ProcessorCount=4
Frequency=3312785 ticks, Resolution=301.8608 ns, Timer=TSC
HostCLR=MS.NET 4.0.30319.42000, Arch=64-bit RELEASE [RyuJIT]
JitModules=clrjit-v4.6.1080.0
Type=CallCostPerfTests Mode=SingleRun Platform=X64
Jit=RyuJit Toolchain=InProcessToolchain LaunchCount=1
WarmupCount=100 TargetCount=300
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Xunit;
using static Xunit.Assert;
namespace DepPropertySample
{
public class Program
namespace system.collections.generic {
using system;
using system.collections;
using system.diagnostics;
using system.diagnostics.contracts;
using system.runtime.serialization;
using system.security.permissions;
[debugger_type_proxy(typeof(mscorlib_dictionary_debug_view<,>))]
@ig-sinicyn
ig-sinicyn / ThreadCycles.md
Last active November 12, 2016 19:03
ThreadCycles.md

##i5-2550K

BenchmarkDotNet=v0.10.0
OS=Microsoft Windows NT 10.0.14393.0
Processor=Intel(R) Core(TM) i5-2550K CPU 3.40GHz, ProcessorCount=4
Frequency=3312788 Hz, Resolution=301.8605 ns, Timer=TSC
Host Runtime=Clr 4.0.30319.42000, Arch=64-bit  [RyuJIT]
GC=Concurrent Workstation
JitModules=clrjit-v4.6.1586.0
Job Runtime(s):