Skip to content

pascalberger/cake-benchmarkdotnet

 
 

Repository files navigation

Cake.BenchmarkDotNet

Cake Addin for working with BenchmarkDotNet file.

Usage

Comparing two runs of the benchmark files and outputs the results into a TRX format. Compare uses the json-full output

#addin "nuget:?package=Cake.BenchmarkDotNet&version=0.1.0&loaddependencies=true"
Task("CompareBenchmarks")
.Does(() => {
    BenchmarkDotNetCompareResults("C:/temp/bdn/baseline", "C:/temp/bdn/new", new  BenchmarkDotNetCompareSettings() {
	    TrxFilePath  =  "C:/temp/bdn/test-results.trx",
	    TestThreshold  =  "5%",
    });
});

About

Cake Addin for BenchmarkDotNet

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 82.8%
  • PowerShell 17.2%