Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExperimentCommonConfig ¶
type ExperimentCommonConfig struct { SpecFilePath string `json:"spec_file_path"` RunConfigPath string `json:"run_config_path"` DataDirPrefix string `json:"data_dir_prefix"` KubeConfigPath string `json:"kube_config_path"` NodeCount int32 `json:"node_count"` PayloadSize int32 `json:"payload_size"` DatapointTime types.Duration `json:"datapoint_time"` ScaleDatapointTime types.Duration `json:"scale_datapoint_time"` }
type ExperimentConfig ¶
type ExperimentConfig struct { ExperimentCommonConfig Algorithms []struct { Name peerpb.Algorithm `json:"name"` MaxFailures uint64 `json:"max_failures"` KeyFile string `json:"key_file"` FastResponsePercent int `json:"fast_response_percent"` NumChains int `json:"num_chains"` } `json:"algorithms"` RequestCounts []struct { InflightRequestCounts []int32 `json:"inflight_request_counts"` ClientCounts []int32 `json:"client_counts"` } `json:"request_counts"` ClientBatchCounts []int32 `json:"client_batch_counts"` }
type ExperimentPlan ¶
type ExperimentPlan struct { ExperimentCommonConfig Count int `json:"count"` Batches []PerBatchPlan `json:"batches"` }
func GenerateDetailConfig ¶
func GenerateDetailConfig(config ExperimentConfig) ExperimentPlan
type PerAlgPlan ¶
type PerBatchPlan ¶
type PerBatchPlan struct { BatchSize int32 `json:"batch_size"` Algorithms []PerAlgPlan `json:"algorithms"` }
type PerInflightPlan ¶
Click to show internal directories.
Click to hide internal directories.