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

Class ExecutorConfig

src/executor/config.rs:105–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103/// `skip_upload`, `repository_override`) live on [`OrchestratorConfig`].
104#[derive(Debug, Clone)]
105pub struct ExecutorConfig {
106 pub working_directory: Option<String>,
107 pub command: String,
108
109 pub instruments: Instruments,
110 pub enable_profiler: bool,
111 /// Stack unwinding mode for perf (if enabled)
112 pub perf_unwinding_mode: Option<UnwindingMode>,
113
114 pub simulation_tool: SimulationTool,
115
116 pub skip_run: bool,
117 pub skip_setup: bool,
118 /// If true, allow execution even when no benchmarks are found
119 pub allow_empty: bool,
120 /// The version of go-runner to install (if None, installs latest)
121 pub go_runner_version: Option<Version>,
122 /// Additional environment variables forwarded to executor subprocesses.
123 pub extra_env: HashMap<String, String>,
124 /// Whether to enable language-level introspection (Node.js, Go wrappers in PATH).
125 /// Disabled for exec-harness targets since they don't need it.
126 pub enable_introspection: bool,
127 /// Enable valgrind's --fair-sched option.
128 pub fair_sched: bool,
129 /// Enable valgrind's --cycle-estimation option.
130 pub cycle_estimation: bool,
131}
132
133#[derive(Debug, Clone, PartialEq)]
134pub struct RepositoryOverride {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected