﻿using BenchmarkDotNet.Running;

namespace Benchmark.NetCore
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            //BenchmarkRunner.Run<MetricCreationBenchmarks>();
            //BenchmarkRunner.Run<SerializationBenchmarks>();
            //BenchmarkRunner.Run<LabelBenchmarks>();
            //BenchmarkRunner.Run<HttpExporterBenchmarks>();
            //BenchmarkRunner.Run<SummaryBenchmarks>();
            BenchmarkRunner.Run<MetricPusherBenchmarks>();
        }
    }
}

﻿using BenchmarkDotNet.Running;

namespace Benchmark.NetCore
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            // Give user possibility to choose which benchmark to run.
            // Can be overridden from the command line with the --filter option.
            new BenchmarkSwitcher(typeof(Program).Assembly).Run(args);
        }
    }
}

Add commandline switch to benchmark to avoid need for rebuilds
Add commandline switch to benchmark to avoid need for rebuilds
