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

Class ExecutionContext

src/executor/execution_context.rs:8–12  ·  view source on GitHub ↗

Per-mode execution context. Contains only the mode-specific configuration and the profile folder path. Shared state (provider, system_info, logger) lives in [`Orchestrator`].

Source from the content-addressed store, hash-verified

6/// Contains only the mode-specific configuration and the profile folder path.
7/// Shared state (provider, system_info, logger) lives in [`Orchestrator`].
8pub struct ExecutionContext {
9 pub config: ExecutorConfig,
10 /// Directory path where profiling data and results are stored
11 pub profile_folder: PathBuf,
12}
13
14impl ExecutionContext {
15 pub fn new(config: ExecutorConfig, profile_folder: PathBuf) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected