Summary
Builder for
BenchmarkCommand
.
- Namespace
- Cake
.SevenZip .Builder - Base Types
graph BT
Type-->Base0["BaseOutputBuilder<BenchmarkCommandBuilder, IBenchmarkOutput>"]
Base0-->Base1["object"]
Type["BenchmarkCommandBuilder"]
class Type type-node
Syntax
public sealed class BenchmarkCommandBuilder :
BaseOutputBuilder<BenchmarkCommandBuilder, IBenchmarkOutput>
Examples
Task("DoBenchmark")
.Does(() =>
{
SevenZip(m => m
.InBenchmarkMode()
.WithMethod("*")
.WithNumberOfIterations(2)
.WithCommandOutput(o =>
{
Information("7Zip version is:" + o.Information);
Information("Benchmark results:");
Information(o.Benchmark);
}));
});
Properties
Name | Value | Summary |
---|---|---|
OutputCommand | BaseOutputCommand |
Gets the output command.
|
Methods
Name | Value | Summary |
---|---|---|
WithDictionarySize |
Benchmark |
Sets the size of the dictionary.
|
WithMethod |
Benchmark |
Sets the method.
|
With |
Benchmark |
Sets the number of iterations.
|
WithNumberOfThreads |
Benchmark |
Sets the number of threads.
|