public virtual string GetBenchmarkDetailsString(bool debug = false) { var writer = new StringWriter(); PrintBenchmarkDetailsImpl(useColors: false, debug: debug, writer: writer); return writer.GetString(); }
public static string GetResultDetailsString(BenchmarkResult result, bool printThreadResults = false, TimePeriod periodForPerformanceDisplay = null, bool debug = false) { var writer = new StringWriter(); PrintResultDetailsImpl(result: result, printThreadResults: printThreadResults, useColors: false, periodForPerformanceDisplay: periodForPerformanceDisplay, debug: debug, writer: writer); return writer.GetString(); }