-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathmod.rs
More file actions
29 lines (28 loc) · 953 Bytes
/
Copy pathmod.rs
File metadata and controls
29 lines (28 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//! Workloads.
//!
//! Each workload is one file. Pattern:
//!
//! 1. Public `WORKLOAD_ID: WorkloadId` constant. Carries the
//! versioned id (Q8) so the JSON envelope and the criterion bench
//! group both pick it up consistently.
//! 2. A `setup<D: Driver>(...)` that builds the dataset against the
//! driver and returns the connection — runs once per criterion
//! bench, **outside** the timed loop.
//! 3. A `bench_iter<D: Driver>(...)` for the per-iteration body —
//! what criterion's `b.iter` measures.
//! 4. An `expected_hash(...)` for the correctness gate (Q3 risk
//! mitigation: catch divergent semantics across engines before the
//! "winner" measurement is meaningful).
pub mod aggregate;
pub mod bulk_insert;
pub mod concurrent_writers;
pub mod fts;
pub mod group_by;
pub mod hybrid;
pub mod index_lookup;
pub mod join;
pub mod kv;
pub mod mixed_oltp;
pub mod range_scan;
pub mod single_insert;
pub mod vector;