[go: up one dir, main page]

codspeed 3.0.3

Core instrumentation library for CodSpeed
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! WARNING: Has to be in sync with `runner`.

#[cfg(unix)]
pub const RUNNER_CTL_FIFO: &str = "/tmp/runner.ctl.fifo";
#[cfg(unix)]
pub const RUNNER_ACK_FIFO: &str = "/tmp/runner.ack.fifo";

#[derive(serde::Serialize, serde::Deserialize, Debug, PartialEq)]
pub enum Command {
    CurrentBenchmark { pid: u32, uri: String },
    StartBenchmark,
    StopBenchmark,
    Ack,
    PingPerf,
    SetIntegration { name: String, version: String },
    Err,
}