Skip to content

Instantly share code, notes, and snippets.

Avatar

Adam Sitnik adamsitnik

View GitHub Profile
View question.chromium.json
{"otherData": { "name": "question.chromium", "exporter": "Microsoft.Diagnostics.Tracing.TraceEvent@2.0.56.0" }, "traceEvents": [{"name": "Process64 Process(50614) (50614) Args: ", "cat": "sampleEvent", "ph": "B", "ts": 0.50728, "pid": 0, "tid": 780520, "sf": 0}, {"name": "(Non-Activities)", "cat": "sampleEvent", "ph": "B", "ts": 0.50728, "pid": 0, "tid": 780520, "sf": 1}, {"name": "Threads", "cat": "sampleEvent", "ph": "B", "ts": 0.50728, "pid": 0, "tid": 780520, "sf": 2}, {"name": "Thread (780520)", "cat": "sampleEvent", "ph": "B", "ts": 0.50728, "pid": 0, "tid": 780520, "sf": 3}, {"name": "load.Program.Main(class System.String[])", "cat": "sampleEvent", "ph": "B", "ts": 0.50728, "pid": 0, "tid": 780520, "sf": 4}, {"name": "Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(class Microsoft.Extensions.Hosting.IHost)", "cat": "sampleEvent", "ph": "B", "ts": 0.50728, "pid": 0, "tid": 780520, "sf": 5}, {"name": "System.Runtime.CompilerServices.TaskAwaiter.GetResult()", "cat": "sampleEvent", "ph":
View TestProfiling20190829184307.speedscope.json
{"exporter": "Microsoft.Diagnostics.Tracing.TraceEvent@2.0.57.0", "name": "TestProfiling20190829184307.speedscope", "activeProfileIndex": 0, "$schema": "https://www.speedscope.app/file-format-schema.json", "shared": { "frames": [ { "name": "Process64 Process(1572) (1572) Args: " }, { "name": "(Non-Activities)" }, { "name": "Threads" }, { "name": "Thread (16832)" }, { "name": "DotNet30!DotNet30.Program.Main(class System.String[])" }, { "name": "Microsoft.Extensions.Hosting.Abstractions.il!Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(class Microsoft.Extensions.Hosting.IHost)" }, { "name": "System.Private.CoreLib.il!System.Runtime.CompilerServices.TaskAwaiter.GetResult()" }, { "name": "System.Private.CoreLib.il!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(class System.Threading.Tasks.Task)" }, { "name": "System.Private.CoreLib.il!System.Threading.Tasks.Task.InternalWaitCore(int32,value class System.Threading.CancellationToken)" }, { "name": "System.Pri
View VoiceMemo.speedscope.json
{"exporter": "Microsoft.Diagnostics.Tracing.TraceEvent@2.0.56.0", "name": "VoiceMemo.speedscope", "activeProfileIndex": 0, "$schema": "https://www.speedscope.app/file-format-schema.json", "shared": { "frames": [ { "name": "Process32 Process(23092) (23092) Args: " }, { "name": "(Non-Activities)" }, { "name": "Threads" }, { "name": "Thread (23092)" }, { "name": "VoiceMemo.Tizen.Wearable!VoiceMemo.Tizen.Wearable.Program.Main(class System.String[])" }, { "name": "UNMANAGED_CODE_TIME" }, { "name": "Xamarin.Forms.Platform.Tizen!Xamarin.Forms.Forms..cctor()" }, { "name": "Xamarin.Forms.Platform.Tizen!Xamarin.Forms.Forms.SetupInit(class Tizen.Applications.CoreApplication,value class System.Nullable`1<value class Xamarin.Forms.InitializationOptions>)" }, { "name": "Xamarin.Forms.Platform.Tizen!Xamarin.Forms.Platform.Tizen.TizenPlatformServices+AppDomain.RegisterAssemblyRecursively(class System.Reflection.Assembly)" }, { "name": "System.Private.CoreLib!System.String.StartsWith(class System.String)" }, { "name": "System
View HeartRateMonitor.speedscope.json
{"exporter": "Microsoft.Diagnostics.Tracing.TraceEvent@2.0.56.0", "name": "HeartRateMonitor.speedscope", "activeProfileIndex": 0, "$schema": "https://www.speedscope.app/file-format-schema.json", "shared": { "frames": [ { "name": "Process32 Process(10068) (10068) Args: " }, { "name": "(Non-Activities)" }, { "name": "Threads" }, { "name": "Thread (10068)" }, { "name": "heartratemonitor!HeartRateMonitor.Program.Main(class System.String[])" }, { "name": "UNMANAGED_CODE_TIME" }, { "name": "xamarin.forms.platform.tizen!Xamarin.Forms.Forms..cctor()" }, { "name": "xamarin.forms.platform.tizen!Xamarin.Forms.Forms.SetupInit(class Tizen.Applications.CoreApplication,value class System.Nullable`1<value class Xamarin.Forms.InitializationOptions>)" }, { "name": "xamarin.forms.platform.tizen!Xamarin.Forms.Platform.Tizen.TizenPlatformServices+AppDomain.RegisterAssemblyRecursively(class System.Reflection.Assembly)" }, { "name": "System.Private.CoreLib!System.Reflection.Assembly.Load(class System.Reflection.AssemblyName)" }, {
View VoiceMemo.speedscope.json
{"exporter": "Microsoft.Diagnostics.Tracing.TraceEvent@2.0.56.0", "name": "VoiceMemo.speedscope", "activeProfileIndex": 0, "$schema": "https://www.speedscope.app/file-format-schema.json", "shared": { "frames": [ { "name": "Process32 Process(23092) (23092) Args: " }, { "name": "(Non-Activities)" }, { "name": "Threads" }, { "name": "Thread (23092)" }, { "name": "VoiceMemo.Tizen.Wearable!VoiceMemo.Tizen.Wearable.Program.Main(class System.String[])" }, { "name": "UNMANAGED_CODE_TIME" }, { "name": "Xamarin.Forms.Platform.Tizen!Xamarin.Forms.Forms..cctor()" }, { "name": "Xamarin.Forms.Platform.Tizen!Xamarin.Forms.Forms.SetupInit(class Tizen.Applications.CoreApplication,value class System.Nullable`1<value class Xamarin.Forms.InitializationOptions>)" }, { "name": "Xamarin.Forms.Platform.Tizen!Xamarin.Forms.Platform.Tizen.TizenPlatformServices+AppDomain.RegisterAssemblyRecursively(class System.Reflection.Assembly)" }, { "name": "System.Private.CoreLib!System.String.StartsWith(class System.String)" }, { "name": "System
View after.speedscope.json
{"exporter": "Microsoft.Diagnostics.Tracing.TraceEvent@2.0.56.0", "name": "after.speedscope", "activeProfileIndex": 0, "$schema": "https://www.speedscope.app/file-format-schema.json", "shared": { "frames": [ { "name": "Process32 Process(23092) (23092) Args: " }, { "name": "(Non-Activities)" }, { "name": "Threads" }, { "name": "Thread (23092)" }, { "name": "VoiceMemo.Tizen.Wearable!VoiceMemo.Tizen.Wearable.Program.Main(class System.String[])" }, { "name": "UNMANAGED_CODE_TIME" }, { "name": "Xamarin.Forms.Platform.Tizen!Xamarin.Forms.Forms..cctor()" }, { "name": "Xamarin.Forms.Platform.Tizen!Xamarin.Forms.Forms.SetupInit(class Tizen.Applications.CoreApplication,value class System.Nullable`1<value class Xamarin.Forms.InitializationOptions>)" }, { "name": "Xamarin.Forms.Platform.Tizen!Xamarin.Forms.Platform.Tizen.TizenPlatformServices+AppDomain.RegisterAssemblyRecursively(class System.Reflection.Assembly)" }, { "name": "System.Private.CoreLib!System.String.StartsWith(class System.String)" }, { "name": "System.Pri
View 1184.speedscope.json
{"exporter": "Microsoft.Diagnostics.Tracing.TraceEvent@2.0.56.0", "name": "1184.speedscope", "activeProfileIndex": 0, "$schema": "https://www.speedscope.app/file-format-schema.json", "shared": { "frames": [ { "name": "Process32 Process(10068) (10068) Args: " }, { "name": "(Non-Activities)" }, { "name": "Threads" }, { "name": "Thread (10068)" }, { "name": "heartratemonitor!HeartRateMonitor.Program.Main(class System.String[])" }, { "name": "UNMANAGED_CODE_TIME" }, { "name": "xamarin.forms.platform.tizen!Xamarin.Forms.Forms..cctor()" }, { "name": "xamarin.forms.platform.tizen!Xamarin.Forms.Forms.SetupInit(class Tizen.Applications.CoreApplication,value class System.Nullable`1<value class Xamarin.Forms.InitializationOptions>)" }, { "name": "xamarin.forms.platform.tizen!Xamarin.Forms.Platform.Tizen.TizenPlatformServices+AppDomain.RegisterAssemblyRecursively(class System.Reflection.Assembly)" }, { "name": "System.Private.CoreLib!System.Reflection.Assembly.Load(class System.Reflection.AssemblyName)" }, { "name": "Sys
View includeProductInfo.speedscope.json
This file has been truncated, but you can view the full file.
{
"exporter": "Microsoft.Diagnostics.Tracing.TraceEvent@2.0.56.0",
"name": "includeProductInfo.speedscope",
"activeProfileIndex": 0,
"$schema": "https://www.speedscope.app/file-format-schema.json",
"shared": {
"frames": [
{ "name": "Process32 Process(10068) (10068) Args: " },
{ "name": "Thread (10068)" },
We couldn’t find that file to show.
View UnitTest1.cs
using CommandLine;
using System;
using System.IO;
using Xunit;
namespace XUnitTestProject5
{
public class CommandLineOptions
{
[Option('a', "aio", Required = false, Default = true, HelpText = "Use Linux AIO")]