mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-03-20 22:28:44 +00:00
25 lines
761 B
Rust
25 lines
761 B
Rust
//! `cuprate_database::service` benchmarks.
|
|
|
|
//---------------------------------------------------------------------------------------------------- Import
|
|
use criterion::{black_box, criterion_group, criterion_main, Criterion};
|
|
|
|
use function_name::named;
|
|
|
|
use cuprate_database::{
|
|
config::Config,
|
|
resize::{page_size, ResizeAlgorithm},
|
|
tables::Outputs,
|
|
ConcreteEnv, Env, EnvInner, TxRo, TxRw,
|
|
};
|
|
|
|
use cuprate_database_benchmark::tmp_env_all_threads;
|
|
|
|
//---------------------------------------------------------------------------------------------------- Criterion
|
|
criterion_group! {
|
|
benches,
|
|
}
|
|
criterion_main!(benches);
|
|
|
|
//---------------------------------------------------------------------------------------------------- Benchmarks
|
|
|
|
// TODO
|