This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.7zip.
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
-
- ICommand
- ICanParseOutput
- 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 |
---|---|
Nullable |
|
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 |
Gets or sets the size of the dictionary.
|
Method | string |
Gets or sets the method.
|
NumberOfIterations | Nullable |
Gets or sets the number of iterations.
|
NumberOfThreads | Nullable |
Gets or sets the number of threads.
|
Switches | IEnumerable |
Gets all supported switches.
|
Methods
Name | Value | Summary |
---|---|---|
BuildArgumentParams |
void |
adds only the arguments to the builder. (i.e. Archive, files, directories).
|
BuildArguments |
void |
Builds the arguments.
Inherited from BaseCommand
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|