17.355. Class BenchOptions
Namespace: ArmoniK.Samples.Bench.Client.Options
Assembly: ArmoniK.Samples.Bench.Client.dll
Class containing options for BenchOptions
[PublicAPI]
public class BenchOptions
17.355.1. Inheritance
17.355.2. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
17.355.3. Fields
17.355.3.1. SettingSection
Name of the section in dotnet options
public const string SettingSection = "BenchOptions"
17.355.3.1.1. Field Value
17.355.4. Properties
17.355.4.1. BatchSize
Number of tasks per batch
public int BatchSize { get; set; }
17.355.4.1.1. Property Value
17.355.4.2. DegreeOfParallelism
Number of tasks to be used in parallel execution
public int DegreeOfParallelism { get; set; }
17.355.4.2.1. Property Value
17.355.4.3. DownloadResults
Download results and check all results are properly retrieved
public bool DownloadResults { get; set; }
17.355.4.3.1. Property Value
17.355.4.4. ExitAfterSubmission
Exit program after tasks are submitted default : false
public bool ExitAfterSubmission { get; set; }
17.355.4.4.1. Property Value
17.355.4.5. MaxDuration
Task Max Duration given to Task Options
public TimeSpan MaxDuration { get; set; }
17.355.4.5.1. Property Value
17.355.4.6. MaxRetries
Maximum number of retries for failures
public int MaxRetries { get; set; }
17.355.4.6.1. Property Value
17.355.4.7. NTasks
Number of computing tasks (there are some supplementary aggregation tasks)
public int NTasks { get; set; }
17.355.4.7.1. Property Value
17.355.4.8. Options
Dictionary to put into task options
public Dictionary<string, string> Options { get; set; }
17.355.4.8.1. Property Value
17.355.4.9. Partition
Partition in which to submit the tasks
public string Partition { get; set; }
17.355.4.9.1. Property Value
17.355.4.10. PauseSessionDuringSubmission
Pause session during task submission and resume it when all tasks are submitted default : false
public bool PauseSessionDuringSubmission { get; set; }
17.355.4.10.1. Property Value
17.355.4.11. PayloadSize
Size of the payloads in kilobytes
public int PayloadSize { get; set; }
17.355.4.11.1. Property Value
17.355.4.12. PurgeData
Purge data from the created session
public bool PurgeData { get; set; }
17.355.4.12.1. Property Value
17.355.4.13. ResultSize
Size of the results in kilobytes
public int ResultSize { get; set; }
17.355.4.13.1. Property Value
17.355.4.14. ShowEvents
Print the event updates default : false
public bool ShowEvents { get; set; }
17.355.4.14.1. Property Value
17.355.4.15. SwitchToStreamSize
Size of the payload from which streams are used to send payloads in kilobytes
public int SwitchToStreamSize { get; set; }
17.355.4.15.1. Property Value
17.355.4.16. TaskDurationMs
Duration of the task in milliseconds
public int TaskDurationMs { get; set; }
17.355.4.16.1. Property Value
17.355.4.17. TaskError
Finish task with Output of type
public string TaskError { get; set; }
17.355.4.17.1. Property Value
17.355.4.18. TaskRpcException
Raise RpcException when task id ends by this string, ignored if empty string
public string TaskRpcException { get; set; }