mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-29 22:14:23 +01:00
create profiles folder
This commit is contained in:
@@ -27,6 +27,7 @@ use crate::runner::env::{Paths, SimulationPhase, SimulationType};
|
||||
|
||||
mod generation;
|
||||
mod model;
|
||||
mod profiles;
|
||||
mod runner;
|
||||
mod shrink;
|
||||
|
||||
|
||||
9
simulator/profiles/io.rs
Normal file
9
simulator/profiles/io.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct IOProfile {
|
||||
enable: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct LatencyProfile {
|
||||
enable: bool,
|
||||
}
|
||||
5
simulator/profiles/mod.rs
Normal file
5
simulator/profiles/mod.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
mod io;
|
||||
mod query;
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct Profile {}
|
||||
29
simulator/profiles/query.rs
Normal file
29
simulator/profiles/query.rs
Normal file
@@ -0,0 +1,29 @@
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct CreateTableProfile {
|
||||
enable: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct CreateIndexProfile {
|
||||
enable: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct InsertProfile {
|
||||
enable: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct UpdateProfile {
|
||||
enable: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct DeleteProfile {
|
||||
enable: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct DropTableProfile {
|
||||
enable: bool,
|
||||
}
|
||||
Reference in New Issue
Block a user