11 行
491 B
C#
11 行
491 B
C#
using System.Reflection;
|
|
using BenchmarkDotNet.Running;
|
|
|
|
// =================
|
|
// BenchmarkDotNet
|
|
// ================
|
|
// In order to run this benchmark, switch to Release mode and either run select
|
|
// it as the startup project for the solution and run it without the debugger
|
|
// (CTRL + F5), or compile it and then go to its bin\Release\net8.0 folder,
|
|
// open a cmd prompt and run "dotnet ComputeSharp.Benchmark.dll".
|
|
BenchmarkSwitcher.FromAssembly(Assembly.GetExecutingAssembly()).Run(args); |