Show / Hide Table of Contents

Class VerifierBenchmark

Benchmarking class to test error rates of a Verifier

Inheritance
System.Object
VerifierBenchmark
Implements
ILoggerObject
Namespace: SigStat.Common
Assembly: SigStat.Common.dll
Syntax
public class VerifierBenchmark : object, ILoggerObject

Constructors

| Improve this Doc View Source

VerifierBenchmark()

Initializes a new instance of the VerifierBenchmark class. Sets the Sampler to the default FirstNSampler.

Declaration
public VerifierBenchmark()

Fields

| Improve this Doc View Source

SignerModels

An optional dictionary of fully or partially precalculated signer models. You may fill itt before executing a benchmark if you have saved the models previously

Declaration
public List<ISignerModel> SignerModels
Field Value
Type Description
List<ISignerModel>

Properties

| Improve this Doc View Source

Loader

The loader that will provide the database for benchmarking

Declaration
public IDataSetLoader Loader { get; set; }
Property Value
Type Description
IDataSetLoader
| Improve this Doc View Source

Logger

Gets or sets the attached object used to log messages. Hands it over to the verifier.

Declaration
public ILogger Logger { get; set; }
Property Value
Type Description
ILogger
| Improve this Doc View Source

Parameters

A key value store that can be used to store custom information about the benchmark

Declaration
public List<KeyValuePair<string, string>> Parameters { get; set; }
Property Value
Type Description
List<KeyValuePair<System.String, System.String>>
| Improve this Doc View Source

Progress

Declaration
public int Progress { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Sampler

The Sampler to be used for benchmarking

Declaration
public Sampler Sampler { get; set; }
Property Value
Type Description
Sampler
| Improve this Doc View Source

Verifier

Gets or sets the Verifier to be benchmarked.

Declaration
public Verifier Verifier { get; set; }
Property Value
Type Description
Verifier

Methods

| Improve this Doc View Source

Dump(String, IEnumerable<KeyValuePair<String, String>>)

Dumps the results of the benchmark in a file.

Declaration
public void Dump(string filename, IEnumerable<KeyValuePair<string, string>> parameters)
Parameters
Type Name Description
System.String filename

The filename.

IEnumerable<KeyValuePair<System.String, System.String>> parameters

The custom parameters of the benchmark (to be included in the dump)

| Improve this Doc View Source

Execute(Boolean)

Execute the benchmarking process.

Declaration
public BenchmarkResults Execute(bool ParallelMode = true)
Parameters
Type Name Description
System.Boolean ParallelMode
Returns
Type Description
BenchmarkResults
| Improve this Doc View Source

Execute(Int32)

Execute the benchmarking process with a degree of parallelism.

Declaration
public BenchmarkResults Execute(int degreeOfParallelism)
Parameters
Type Name Description
System.Int32 degreeOfParallelism

Degree of parallelism is the maximum number of concurrently executing tasks.

Returns
Type Description
BenchmarkResults

Events

| Improve this Doc View Source

ProgressChanged

Declaration
public event EventHandler<int> ProgressChanged
Event Type
Type Description
EventHandler<System.Int32>

Implements

ILoggerObject
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX