Skip to content

Instantly share code, notes, and snippets.

View pakrym's full-sized avatar

Pavel Krymets pakrym

View GitHub Profile
[include mainsail.cfg]
[fan]
pin: PF7
[heater_bed]
heater_pin: PF5
sensor_pin: PB1 # TB
sensor_type: ATC Semitec 104GT-2
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"aspnetcoreVersion": {
"type": "String",
"defaultValue": "3.0.0-preview-19106-04"
},
"bitness": {
"type": "String",

Setup

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="Local" value="d:\localnuget" />
    <add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
    <add key="NuGet" value="https://api.nuget.org/v3/index.json" />
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using Xunit.Sdk;
using System;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;
namespace refreturnawaitable
{
class Program
{
static void Main(string[] args)
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
Target,Target_Namespace,Target_Type,Target_Method,Job_Id,Job_AnalyzeLaunchVariance,Job_EvaluateOverhead,Job_MaxStdErrRelative,Job_MinInvokeCount,Job_MinIterationTime,Job_RemoveOutliers,Job_Affinity,Job_Jit,Job_Platform,Job_Runtime,Job_AllowVeryLargeObjects,Job_Concurrent,Job_CpuGroups,Job_Force,Job_RetainVm,Job_Server,Job_Clock,Job_EngineFactory,Job_Toolchain,Job_InvocationCount,Job_IterationTime,Job_LaunchCount,Job_RunStrategy,Job_TargetCount,Job_UnrollFactor,Job_WarmupCount,Job_Display,Params,Measurement_LaunchIndex,Measurement_IterationMode,Measurement_IterationIndex,Measurement_Nanoseconds,Measurement_Operations,Measurement_Value
Reading.ReadableBufferReader,System.IO.Pipelines.Performance.Tests,Reading,ReadableBufferReader,Default,Default,Default,Default,Default,Default,False,Default,Default,Default,Core,Default,Default,Default,Default,Default,True,Default,Default,Default,Default,Default,3,Throughput,10,Default,5,"Job-MIHGGF(RemoveOutliers=False, Runtime=Core, Server=True, LaunchCount=3, RunStrategy=Thro
param($appName, $keyName, $pass, $keyvault)
$ErrorActionPreference = "Stop"
if (test-path "$keyName.pvk")
{
rm "$keyName.pvk"
}
if (test-path "$keyName.cer")
{
Running 30s test @ http://10.0.0.100:5004/0B.txt
4 threads and 16 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 91.62us 73.58us 13.28ms 99.55%
Req/Sec 42.91k 0.89k 47.79k 78.72%
5135715 requests in 30.10s, 1.18GB read
Requests/sec: 170626.44
Transfer/sec: 40.03MB
Running 30s test @ http://10.0.0.100:5004/200B.txt
[00:00:00]
[00:29:44.6890000] TARGET Default (Standard Goals)
[00:00:00.3390000] TARGET Prepare (Microsoft.DotNet.Cli.Build.PrepareTargets.Prepare)
[00:00:00.3390000] TARGET Init (Microsoft.DotNet.Cli.Build.PrepareTargets.Init)
[00:00:00.1010000] TARGET GenerateVersions (Microsoft.DotNet.Cli.Build.PrepareTargets.GenerateVersions)
[00:00:00.0550000] EXEC git "rev-list" "--count" "HEAD"
[00:00:00.0170000] EXEC git "rev-parse" "HEAD"
[00:00:00.2120000] TARGET UpdateTemplateVersions (Microsoft.DotNet.Cli.Build.PrepareTargets.UpdateTemplateVersions)
[00:00:00.0200000] TARGET CheckPrereqs (Microsoft.DotNet.Cli.Build.PrepareTargets.CheckPrereqs)
[00:00:00.0180000] TARGET CheckPrereqCma