Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 564 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 564 Bytes

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%",
    });
});