BenchmarkCommand Class

Summary

Measures speed of the CPU. Benchmark execution also can be used to check RAM for errors. (Command: b).

The builder is BenchmarkCommandBuilder.

Assembly
Cake.7zip.dll
Namespace
Cake.SevenZip.Commands
Interfaces
Base Types
graph BT Type-->Base0["BaseOutputCommand<IBenchmarkOutput>"] Base0-->Base1["BaseCommand"] click Base1 "/api/Cake.SevenZip.Commands/BaseCommand" Base1-->Base2["Object"] Type-.->Interface0["ICommand"] click Interface0 "/api/Cake.SevenZip.Commands/ICommand" Type-.->Interface1["ICanParseOutput"] Type["BenchmarkCommand"] class Type type-node

Syntax

public sealed class BenchmarkCommand : BaseOutputCommand<IBenchmarkOutput>, ICommand, 
    ICanParseOutput

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
BenchmarkCommand() Initializes a new instance of the BenchmarkCommand class.

Properties

Name Value Summary
CommandChar string
Gets the command character. (e.g. "a", "u" or "e"...)
DictionarySize Nullable<int>
Gets or sets the size of the dictionary.
Method string
Gets or sets the method.
NumberOfIterations Nullable<int>
Gets or sets the number of iterations.
NumberOfThreads Nullable<int>
Gets or sets the number of threads.
Switches IEnumerable<ISwitch>
Gets all supported switches.

Methods

Name Value Summary
BuildArgumentParams(ProcessArgumentBuilder) void
adds only the arguments to the builder. (i.e. Archive, files, directories).
BuildArguments(ProcessArgumentBuilder) void
Builds the arguments.
Inherited from BaseCommand

Extension Methods

Name Value Summary
Dump<BenchmarkCommand>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<BenchmarkCommand>(BenchmarkCommand[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<BenchmarkCommand>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<BenchmarkCommand>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<BenchmarkCommand>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<BenchmarkCommand>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin