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

Class AnalysisExecutor

src/executor/analysis/executor.rs:28–33  ·  view source on GitHub ↗

Runs the benchmarks once each in analysis mode, without a profiler, with the [analysis instruments](super::instruments) enabled in the configuration hooked on. The benchmark markers are saved in the profile folder, so that what the instruments collect can be placed on the clock of each benchmark.

Source from the content-addressed store, hash-verified

26/// The benchmark markers are saved in the profile folder, so that what the instruments collect
27/// can be placed on the clock of each benchmark.
28pub struct AnalysisExecutor {
29 /// The runner mode the benchmarks are told they run in.
30 mode: RunnerMode,
31 /// Stashed by [`Executor::run`] for [`Executor::teardown`].
32 timestamps: OnceCell<ExecutionTimestamps>,
33}
34
35impl AnalysisExecutor {
36 pub fn new(mode: RunnerMode) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected