This folder contains micro benchmarks that test the performance of PSResourceGet.
You can run the benchmarks directly using dotnet run
in this directory:
-
To run the benchmarks in Interactive Mode, where you will be asked which benchmark(s) to run:
dotnet run -c Release -f net6.0
-
To list all available benchmarks (read more):
dotnet run -c Release -f net6.0 --list [flat/tree]
-
To filter the benchmarks using a glob pattern applied to
namespace.typeName.methodName
(read more]):dotnet run -c Release -f net6.0 --filter *script* --list flat
-
To profile the benchmarked code and produce an ETW Trace file (read more)
dotnet run -c Release -f net6.0 --filter *script* --profiler ETW