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

Method setup

src/executor/wall_time/profiler/mod.rs:37–43  ·  view source on GitHub ↗

One-time system setup (install tool, tweak sysctls, ...).

(
        &self,
        _system_info: &SystemInfo,
        _setup_cache_dir: Option<&Path>,
    )

Source from the content-addressed store, hash-verified

35
36 /// One-time system setup (install tool, tweak sysctls, ...).
37 async fn setup(
38 &self,
39 _system_info: &SystemInfo,
40 _setup_cache_dir: Option<&Path>,
41 ) -> anyhow::Result<()> {
42 Ok(())
43 }
44
45 /// Wrap the user command with the profiler invocation. The returned
46 /// `CommandBuilder` is what gets spawned.

Callers

nothing calls this directly

Implementers 2

mod.rssrc/executor/wall_time/profiler/perf/m
mod.rssrc/executor/wall_time/profiler/samply

Calls

no outgoing calls

Tested by

no test coverage detected