summaryrefslogtreecommitdiff
path: root/tests/src/Common/PerfHarness/PerfHarness.cs
blob: f78022517babdb16e11e2480e0c1a854c2018858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System.IO;
using System.Reflection;
using System.Collections.Generic;
using Microsoft.Xunit.Performance.Api;

public class PerfHarness
{
    public static void Main(string[] args)
    {
        string assemblyName = args[0];
        using (XunitPerformanceHarness harness = new XunitPerformanceHarness(args))
        {
            harness.RunBenchmarks(assemblyName);
        }
    }
}