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.

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

Syntax

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

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 int?
Gets or sets the size of the dictionary.
Method string?
Gets or sets the method.
NumberOfIterations int?
Gets or sets the number of iterations.
NumberOfThreads 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
GitHub Discussion