MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / ExecutorConfig

Class ExecutorConfig

src/executor/config.rs:141–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139/// `skip_upload`, `repository_override`) live on [`OrchestratorConfig`].
140#[derive(Debug, Clone)]
141pub struct ExecutorConfig {
142 pub working_directory: Option<String>,
143 pub command: String,
144
145 pub instruments: Instruments,
146 pub enable_profiler: bool,
147 /// Explicit unwinding settings; None preserves the profiler's automatic selection.
148 pub walltime_unwinding: Option<WalltimeUnwinding>,
149
150 pub simulation_tool: SimulationTool,
151
152 pub skip_run: bool,
153 pub skip_setup: bool,
154 /// If true, allow execution even when no benchmarks are found
155 pub allow_empty: bool,
156 /// The version of go-runner to install (if None, installs latest)
157 pub go_runner_version: Option<Version>,
158 /// Additional environment variables forwarded to executor subprocesses.
159 pub extra_env: HashMap<String, String>,
160 /// Whether to enable language-level introspection (Node.js, Go wrappers in PATH).
161 /// Disabled for exec-harness targets since they don't need it.
162 pub enable_introspection: bool,
163 /// Enable valgrind's --fair-sched option.
164 pub fair_sched: bool,
165 /// Enable valgrind's --rep-bulk-cost option.
166 pub rep_bulk_cost: bool,
167 /// Enable valgrind's --cycle-estimation option.
168 pub cycle_estimation: bool,
169 /// Signal the backend to exclude memory allocation time from simulation results.
170 pub exclude_allocations: bool,
171 /// Inherit valgrind's instrumentation state across a traced exec, so the cost of
172 /// subprocesses spawned by a benchmark is measured too.
173 pub simulation_track_subprocess: bool,
174 /// Enable physical (resident) memory tracking in memory mode.
175 ///
176 /// Only read by the memory executor, which is Linux-only.
177 #[cfg_attr(not(target_os = "linux"), allow(dead_code))]
178 pub memory_track_physical: bool,
179 /// Do not set PYTHONMALLOC for simulation runs.
180 pub disable_pythonmalloc_override: bool,
181 /// Capture allocation call stacks in memory mode, so allocations can be
182 /// attributed to the code that made them.
183 ///
184 /// Only read by the memory executor, which is Linux-only.
185 #[cfg_attr(not(target_os = "linux"), allow(dead_code))]
186 pub memory_capture_stack: bool,
187}
188
189#[derive(Debug, Clone, PartialEq)]
190pub struct RepositoryOverride {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected