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

Method new

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

Source from the content-addressed store, hash-verified

107
108impl WallTimeExecutor {
109 pub fn new(profiler_override: Option<WalltimeProfiler>) -> Self {
110 Self {
111 profiler: select_profiler(profiler_override),
112 benchmark_state: OnceCell::new(),
113 }
114 }
115
116 /// Prepare the benchmark command wrapped with the necessary environment variables for
117 /// 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