Table of Contents

GetReportsResultsPath Method

Definition

Namespace
Codebelt.Extensions.BenchmarkDotNet
Assemblies
Codebelt.Extensions.BenchmarkDotNet.dll
Source
src/Codebelt.Extensions.BenchmarkDotNet/BenchmarkWorkspace.cs

GetReportsResultsPath(BenchmarkWorkspaceOptions)

Gets the path to the BenchmarkDotNet results directory

public static string GetReportsResultsPath(BenchmarkWorkspaceOptions options)

Parameters

options BenchmarkWorkspaceOptions

The BenchmarkWorkspaceOptions which configures repository paths, build modes and BenchmarkDotNet configuration.

Returns

string

A string containing the full path to the 'results' directory within the artifacts path.

Remarks

This path is constructed from the configured BenchmarkDotNet.Configs.IConfig.ArtifactsPath and the "results" subdirectory.