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

Method new

src/executor/wall_time/executor.rs:56–62  ·  view source on GitHub ↗
(profiler_override: Option<WalltimeProfiler>)

Source from the content-addressed store, hash-verified

54
55impl WallTimeExecutor {
56 pub fn new(profiler_override: Option<WalltimeProfiler>) -> Self {
57 Self {
58 profiler: select_profiler(profiler_override),
59 benchmark_state: OnceCell::new(),
60 profiling_sysctls: OnceCell::new(),
61 }
62 }
63
64 /// Prepare the benchmark command wrapped with the necessary environment variables for
65 /// introspection and environment forwarding ahead of privilege escalation and isolation.

Callers

nothing calls this directly

Calls 1

select_profilerFunction · 0.85

Tested by

no test coverage detected