﻿using System;
using BenchmarkDotNet.Running;

namespace LanguageExt.Benchmarks
{
    class Program
    {
        static void Main(string[] args)
        {
            var summary1 = BenchmarkRunner.Run<HashMapAddBenchmark>();
            Console.Write(summary1);

            var summary2 = BenchmarkRunner.Run<HashMapRandomReadBenchmark>();
            Console.Write(summary2);
        }
    }
}

﻿using BenchmarkDotNet.Running;

namespace LanguageExt.Benchmarks
{
    class Program
    {
        static void Main(string[] args) =>
            BenchmarkSwitcher
                .FromAssembly(typeof(Program).Assembly)
                .Run(args);
    }
}

Change way how benchmarks are discovered/executed
Change way how benchmarks are discovered/executed
