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

Function codspeed

tests/executors.rs:139–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137}
138
139fn codspeed() -> Command {
140 let mut cmd = Command::new(env!("CARGO_BIN_EXE_codspeed"));
141 // Forces the local provider; the GitHub Actions one needs a workflow event.
142 cmd.env_remove("GITHUB_ACTIONS")
143 .current_dir(std::env::temp_dir());
144 cmd
145}
146
147/// `codspeed run` up to the `--` separator. `--allow-empty`: plain scripts
148/// produce no benchmark results.

Callers 5

setupFunction · 0.85
runFunction · 0.85
walltime_exec_harnessFunction · 0.85

Calls 1

current_dirMethod · 0.80