Project

PSPublishModule

Build, test, version, sign, and publish PowerShell modules with reusable PowerForge pipelines.

Stars 48
Forks 16
PowerShell Gallery downloads 17,213
Release v3.0.169
Language: C# Updated: 2026-10-13

API Reference

Command

Import-BenchmarkResult

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.BenchmarkRunResult

Imports BenchmarkDotNet or normalized benchmark artifacts into the common benchmark schema.

Remarks

Imports BenchmarkDotNet or normalized benchmark artifacts into the common benchmark schema.

Examples

Authored help example

Import BenchmarkDotNet artifacts


Import-BenchmarkResult -Path .\BenchmarkDotNet.Artifacts -OutputPath .\Build\Benchmarks\normalized.json
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Import-BenchmarkResult [-Culture <String>] [-OutputPath <String>] -Path <String> [-Suite <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Culture String optionalposition: namedpipeline: False
Optional numeric culture used by the producing CSV report, for example de-DE. Supply it when punctuation such as 1,234 would otherwise be ambiguous.
OutputPath String optionalposition: namedpipeline: False
Optional output path for normalized JSON.
Path String requiredposition: 0pipeline: False
Input file or directory.
Suite String optionalposition: namedpipeline: False
Optional suite name override.

Outputs

PowerForge.BenchmarkRunResult