Skip to main content

euv_performance/
lib.rs

1//! euv-performance
2//!
3//! Reproducible CPU and allocation benchmarks for the complete euv runtime.
4
5mod config;
6mod load;
7mod memory;
8mod runner;
9#[cfg(test)]
10#[path = "../tests/mod.rs"]
11mod tests;
12
13pub use runner::*;
14
15pub(crate) use {config::*, load::*, memory::*};
16
17#[cfg(feature = "allocation-tracking")]
18use std::{
19    alloc::{GlobalAlloc, Layout, System},
20    thread::AccessError,
21};
22use std::{
23    cell::Cell,
24    env::{
25        self,
26        consts::{ARCH, OS},
27    },
28    error::Error,
29    fs,
30    hint::black_box,
31    mem::{replace, take},
32    num::NonZeroUsize,
33    path::PathBuf,
34    process::{Command, Output},
35    rc::Rc,
36    thread::available_parallelism,
37    time::{Instant, SystemTime, UNIX_EPOCH},
38};
39
40use {euv::*, euv_chart::*, euv_engine::*, serde::Serialize, serde_json::to_string_pretty};