Skip to content

Commit

Permalink
Fix the printing of ascii codes on tracy and improve some tracing (#341)
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
  • Loading branch information
mamcx and cloutiertyler authored Sep 30, 2023
1 parent 97ed85e commit 3d1d98c
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 23 deletions.
17 changes: 9 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ tokio-postgres = { version = "0.7.8", features = ["with-chrono-0_4"] }
tokio-tungstenite = { version = "0.19", features = ["native-tls"] }
toml = "0.5"
tower-http = { version = "0.4.1", features = ["cors"] }
tracing = "0.1"
tracing = "0.1.37"
tracing-appender = "0.2.2"
tracing-core = "0.1"
tracing-flame = "0.2"
tracing-log = "0.1"
tracing-core = "0.1.31"
tracing-flame = "0.2.0"
tracing-log = "0.1.3"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
url = "2.3.1"
urlencoding = "2.1.2"
Expand Down
2 changes: 1 addition & 1 deletion crates/core/src/db/message_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl MessageLog {
Ok(())
}

#[tracing::instrument(skip(message))]
#[tracing::instrument(skip_all)]
pub fn append(&mut self, message: impl AsRef<[u8]>) -> Result<(), DBError> {
let message = message.as_ref();
let mess_size = message.len() as u32;
Expand Down
8 changes: 4 additions & 4 deletions crates/core/src/db/relational_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ impl RelationalDB {
/// Returns the `index_id`
///
/// NOTE: It loads the data from the table into it before returning
#[tracing::instrument(skip(self, tx))]
#[tracing::instrument(skip(self, tx, index), fields(index=index.name))]
pub fn create_index(&self, tx: &mut MutTxId, index: IndexDef) -> Result<IndexId, DBError> {
self.inner.create_index_mut_tx(tx, index)
}
Expand All @@ -466,7 +466,7 @@ impl RelationalDB {
/// where the column data identified by `cols` matches `value`.
///
/// Matching is defined by `Ord for AlgebraicValue`.
#[tracing::instrument(skip(self, tx))]
#[tracing::instrument(skip(self, tx, value))]
pub fn iter_by_col_eq<'a>(
&'a self,
tx: &'a MutTxId,
Expand Down Expand Up @@ -494,7 +494,7 @@ impl RelationalDB {
.iter_by_col_range_mut_tx(tx, TableId(table_id), ColId(col_id), range)
}

#[tracing::instrument(skip(self, tx))]
#[tracing::instrument(skip(self, tx, row))]
pub fn insert(&self, tx: &mut MutTxId, table_id: u32, row: ProductValue) -> Result<ProductValue, DBError> {
measure(&RDB_INSERT_TIME, table_id);
self.inner.insert_mut_tx(tx, TableId(table_id), row)
Expand Down Expand Up @@ -549,7 +549,7 @@ impl RelationalDB {
}

/// Add a [Sequence] into the database instance, generates a stable [SequenceId] for it that will persist on restart.
#[tracing::instrument(skip(self, tx))]
#[tracing::instrument(skip(self, tx, seq), fields(seq=seq.sequence_name))]
pub fn create_sequence(&self, tx: &mut MutTxId, seq: SequenceDef) -> Result<SequenceId, DBError> {
self.inner.create_sequence_mut_tx(tx, seq)
}
Expand Down
4 changes: 2 additions & 2 deletions crates/core/src/host/instance_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl InstanceEnv {
}
}

#[tracing::instrument(skip_all)]
#[tracing::instrument(skip_all, fields(reducer=reducer))]
pub fn schedule(
&self,
reducer: String,
Expand Down Expand Up @@ -143,7 +143,7 @@ impl InstanceEnv {
/// where the column identified by `cols` equates to `value`.
///
/// Returns an error if no columns were deleted or if the column wasn't found.
#[tracing::instrument(skip_all)]
#[tracing::instrument(skip(self, value))]
pub fn delete_by_col_eq(&self, table_id: u32, col_id: u32, value: &[u8]) -> Result<u32, NodesError> {
let stdb = &*self.dbic.relational_db;
let tx = &mut *self.get_tx()?;
Expand Down
2 changes: 1 addition & 1 deletion crates/core/src/host/wasm_common/module_host_actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ impl<T: WasmInstance> ModuleInstance for WasmModuleInstance<T> {
self.trapped
}

#[tracing::instrument(skip(args))]
#[tracing::instrument(skip(self, args), fields(db_id=self.instance.instance_env().dbic.database_id))]
fn init_database(&mut self, fence: u128, args: ArgsTuple) -> anyhow::Result<ReducerCallResult> {
let stdb = &*self.database_instance_context().relational_db;
let mut tx = stdb.begin_tx();
Expand Down
2 changes: 1 addition & 1 deletion crates/core/src/sql/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fn collect_result(result: &mut Vec<MemTable>, r: CodeResult) -> Result<(), DBErr
Ok(())
}

#[tracing::instrument(skip(db, tx, auth))]
#[tracing::instrument(skip_all)]
pub fn execute_single_sql(
db: &RelationalDB,
tx: &mut MutTxId,
Expand Down
3 changes: 2 additions & 1 deletion crates/core/src/startup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ pub fn configure_tracing() {
(None, None)
};

// Is important for `tracy_layer` to be before `fmt_layer` to not print ascii codes...
let subscriber = tracing_subscriber::Registry::default()
.with(fmt_layer)
.with(tracy_layer)
.with(fmt_layer)
.with(flame_layer);

if cfg!(debug_assertions) {
Expand Down
2 changes: 1 addition & 1 deletion crates/core/src/subscription/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub struct Query {
}

impl Query {
#[tracing::instrument(skip(self))]
#[tracing::instrument(skip_all, fields(table = table.table_name))]
pub fn queries_of_table_id<'a>(&'a self, table: &'a DatabaseTableUpdate) -> impl Iterator<Item = QueryExpr> + '_ {
self.queries.iter().filter_map(move |x| {
if x.source.get_db_table().map(|x| x.table_id) == Some(table.table_id) {
Expand Down

1 comment on commit 3d1d98c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark for 3d1d98c

Click to view benchmark
Test Base PR %
serialize/location/bsatn/count=100 2.5±0.11µs 38.4 MElem/sec N/A N/A
serialize/location/json/count=100 3.8±0.11µs 25.1 MElem/sec N/A N/A
serialize/location/product_value/count=100 2.5±0.04µs 37.5 MElem/sec N/A N/A
serialize/person/bsatn/count=100 3.0±0.05µs 31.9 MElem/sec N/A N/A
serialize/person/json/count=100 5.5±0.09µs 17.4 MElem/sec N/A N/A
serialize/person/product_value/count=100 1856.2±87.62ns 51.4 MElem/sec N/A N/A
sqlite/disk/empty 428.6±5.58ns 438.3±16.26ns +2.26%
sqlite/disk/filter/string/indexed/load=1000/count=10 5.7±0.22µs 171.4 KElem/sec N/A N/A
sqlite/disk/filter/string/non_indexed/load=1000/count=10 54.5±1.55µs 17.9 KElem/sec N/A N/A
sqlite/disk/filter/u64/indexed/load=1000/count=10 5.8±0.27µs 167.6 KElem/sec N/A N/A
sqlite/disk/filter/u64/non_indexed/load=1000/count=10 40.9±1.38µs 23.8 KElem/sec N/A N/A
sqlite/disk/find_unique/u32/load=1000 2.3±0.05µs 424.6 KElem/sec N/A N/A
sqlite/disk/insert_1/location/multi_index/load=0 15.4±0.81µs 63.5 KElem/sec N/A N/A
sqlite/disk/insert_1/location/multi_index/load=1000 17.7±0.72µs 55.3 KElem/sec N/A N/A
sqlite/disk/insert_1/location/non_unique/load=0 7.3±0.17µs 133.5 KElem/sec N/A N/A
sqlite/disk/insert_1/location/non_unique/load=1000 7.3±0.29µs 133.3 KElem/sec N/A N/A
sqlite/disk/insert_1/location/unique/load=0 7.4±0.23µs 132.7 KElem/sec N/A N/A
sqlite/disk/insert_1/location/unique/load=1000 8.0±2.90µs 121.4 KElem/sec N/A N/A
sqlite/disk/insert_1/person/multi_index/load=0 14.6±0.31µs 66.7 KElem/sec N/A N/A
sqlite/disk/insert_1/person/multi_index/load=1000 18.6±1.29µs 52.5 KElem/sec N/A N/A
sqlite/disk/insert_1/person/non_unique/load=0 7.4±0.16µs 132.4 KElem/sec N/A N/A
sqlite/disk/insert_1/person/non_unique/load=1000 7.6±0.47µs 128.0 KElem/sec N/A N/A
sqlite/disk/insert_1/person/unique/load=0 7.4±0.30µs 131.9 KElem/sec N/A N/A
sqlite/disk/insert_1/person/unique/load=1000 7.7±0.44µs 127.0 KElem/sec N/A N/A
sqlite/disk/insert_bulk/location/multi_index/load=0/count=100 125.7±2.48µs 130.1±7.32µs +3.50%
sqlite/disk/insert_bulk/location/multi_index/load=1000/count=100 211.9±4.81µs 204.7±4.56µs -3.40%
sqlite/disk/insert_bulk/location/non_unique/load=0/count=100 42.4±1.97µs 23.0 KElem/sec N/A N/A
sqlite/disk/insert_bulk/location/non_unique/load=1000/count=100 47.9±2.39µs 20.4 KElem/sec N/A N/A
sqlite/disk/insert_bulk/location/unique/load=0/count=100 43.8±0.88µs 22.3 KElem/sec N/A N/A
sqlite/disk/insert_bulk/location/unique/load=1000/count=100 50.2±1.42µs 19.4 KElem/sec N/A N/A
sqlite/disk/insert_bulk/person/multi_index/load=0/count=100 115.0±2.43µs 117.2±4.48µs +1.91%
sqlite/disk/insert_bulk/person/multi_index/load=1000/count=100 255.4±14.02µs 248.5±11.58µs -2.70%
sqlite/disk/insert_bulk/person/non_unique/load=0/count=100 41.9±0.61µs 23.3 KElem/sec N/A N/A
sqlite/disk/insert_bulk/person/non_unique/load=1000/count=100 56.5±1.14µs 17.3 KElem/sec N/A N/A
sqlite/disk/insert_bulk/person/unique/load=0/count=100 44.6±1.12µs 21.9 KElem/sec N/A N/A
sqlite/disk/insert_bulk/person/unique/load=1000/count=100 51.2±1.16µs 19.1 KElem/sec N/A N/A
sqlite/disk/iterate/location/unique/count=100 8.5±0.46µs 114.9 KElem/sec N/A N/A
sqlite/disk/iterate/person/unique/count=100 8.5±0.13µs 114.5 KElem/sec N/A N/A
sqlite/mem/empty 436.5±17.51ns 431.3±7.23ns -1.19%
sqlite/mem/filter/string/indexed/load=1000/count=10 4.2±0.15µs 231.9 KElem/sec N/A N/A
sqlite/mem/filter/string/non_indexed/load=1000/count=10 53.3±0.75µs 18.3 KElem/sec N/A N/A
sqlite/mem/filter/u64/indexed/load=1000/count=10 4.1±0.14µs 240.1 KElem/sec N/A N/A
sqlite/mem/filter/u64/non_indexed/load=1000/count=10 40.1±2.14µs 24.4 KElem/sec N/A N/A
sqlite/mem/find_unique/u32/load=1000 1101.0±43.49ns 887.0 KElem/sec N/A N/A
sqlite/mem/insert_1/location/multi_index/load=0 4.4±0.07µs 222.8 KElem/sec N/A N/A
sqlite/mem/insert_1/location/multi_index/load=1000 6.1±0.47µs 159.9 KElem/sec N/A N/A
sqlite/mem/insert_1/location/non_unique/load=0 1821.7±86.72ns 536.1 KElem/sec N/A N/A
sqlite/mem/insert_1/location/non_unique/load=1000 1889.7±151.66ns 516.8 KElem/sec N/A N/A
sqlite/mem/insert_1/location/unique/load=0 1760.9±42.56ns 554.6 KElem/sec N/A N/A
sqlite/mem/insert_1/location/unique/load=1000 1909.9±66.00ns 511.3 KElem/sec N/A N/A
sqlite/mem/insert_1/person/multi_index/load=0 4.3±0.05µs 227.7 KElem/sec N/A N/A
sqlite/mem/insert_1/person/multi_index/load=1000 6.8±0.40µs 142.8 KElem/sec N/A N/A
sqlite/mem/insert_1/person/non_unique/load=0 1881.9±30.78ns 518.9 KElem/sec N/A N/A
sqlite/mem/insert_1/person/non_unique/load=1000 2.1±0.07µs 474.0 KElem/sec N/A N/A
sqlite/mem/insert_1/person/unique/load=0 1872.4±38.48ns 521.5 KElem/sec N/A N/A
sqlite/mem/insert_1/person/unique/load=1000 2.1±0.16µs 456.9 KElem/sec N/A N/A
sqlite/mem/insert_bulk/location/multi_index/load=0/count=100 118.1±5.35µs 112.0±1.73µs -5.17%
sqlite/mem/insert_bulk/location/multi_index/load=1000/count=100 178.6±24.52µs 169.9±5.51µs -4.87%
sqlite/mem/insert_bulk/location/non_unique/load=0/count=100 35.8±0.56µs 27.3 KElem/sec N/A N/A
sqlite/mem/insert_bulk/location/non_unique/load=1000/count=100 39.5±1.97µs 24.7 KElem/sec N/A N/A
sqlite/mem/insert_bulk/location/unique/load=0/count=100 38.7±1.66µs 25.2 KElem/sec N/A N/A
sqlite/mem/insert_bulk/location/unique/load=1000/count=100 43.4±0.94µs 22.5 KElem/sec N/A N/A
sqlite/mem/insert_bulk/person/multi_index/load=0/count=100 103.9±1.98µs 104.2±1.67µs +0.29%
sqlite/mem/insert_bulk/person/multi_index/load=1000/count=100 205.0±9.85µs 200.0±5.86µs -2.44%
sqlite/mem/insert_bulk/person/non_unique/load=0/count=100 36.7±0.65µs 26.6 KElem/sec N/A N/A
sqlite/mem/insert_bulk/person/non_unique/load=1000/count=100 44.7±2.35µs 21.8 KElem/sec N/A N/A
sqlite/mem/insert_bulk/person/unique/load=0/count=100 39.4±1.76µs 24.8 KElem/sec N/A N/A
sqlite/mem/insert_bulk/person/unique/load=1000/count=100 43.3±0.76µs 22.6 KElem/sec N/A N/A
sqlite/mem/iterate/location/unique/count=100 7.4±0.20µs 132.2 KElem/sec N/A N/A
sqlite/mem/iterate/person/unique/count=100 8.1±0.34µs 121.0 KElem/sec N/A N/A
stdb_module/disk/empty 28.1±1.20µs 25.5±1.72µs -9.25%
stdb_module/disk/filter/string/indexed/load=1000/count=10 61.6±5.79µs 15.9 KElem/sec N/A N/A
stdb_module/disk/filter/string/non_indexed/load=1000/count=10 148.7±11.11µs 158.9±10.81µs +6.86%
stdb_module/disk/filter/u64/indexed/load=1000/count=10 47.7±4.09µs 20.5 KElem/sec N/A N/A
stdb_module/disk/filter/u64/non_indexed/load=1000/count=10 117.3±4.28µs 118.1±5.71µs +0.68%
stdb_module/disk/find_unique/u32/load=1000 33.7±2.22µs 29.0 KElem/sec N/A N/A
stdb_module/disk/insert_1/location/multi_index/load=0 50.9±5.70µs 19.2 KElem/sec N/A N/A
stdb_module/disk/insert_1/location/multi_index/load=1000 388.6±28.33µs 374.3±31.77µs -3.68%
stdb_module/disk/insert_1/location/non_unique/load=0 45.9±3.60µs 21.3 KElem/sec N/A N/A
stdb_module/disk/insert_1/location/non_unique/load=1000 321.5±22.95µs 357.9±22.50µs +11.32%
stdb_module/disk/insert_1/location/unique/load=0 47.7±4.99µs 20.5 KElem/sec N/A N/A
stdb_module/disk/insert_1/location/unique/load=1000 383.6±31.17µs 397.9±27.11µs +3.73%
stdb_module/disk/insert_1/person/multi_index/load=0 61.4±5.95µs 15.9 KElem/sec N/A N/A
stdb_module/disk/insert_1/person/multi_index/load=1000 400.6±86.63µs 471.1±42.82µs +17.60%
stdb_module/disk/insert_1/person/non_unique/load=0 54.6±7.54µs 17.9 KElem/sec N/A N/A
stdb_module/disk/insert_1/person/non_unique/load=1000 372.9±31.15µs 376.5±37.06µs +0.97%
stdb_module/disk/insert_1/person/unique/load=0 56.2±6.73µs 17.4 KElem/sec N/A N/A
stdb_module/disk/insert_1/person/unique/load=1000 451.3±40.14µs 407.0±46.36µs -9.82%
stdb_module/disk/insert_bulk/location/multi_index/load=0/count=100 894.6±23.10µs 895.7±43.44µs +0.12%
stdb_module/disk/insert_bulk/location/multi_index/load=1000/count=100 1141.6±50.01µs 1184.2±65.36µs +3.73%
stdb_module/disk/insert_bulk/location/non_unique/load=0/count=100 610.9±22.94µs 633.3±23.38µs +3.67%
stdb_module/disk/insert_bulk/location/non_unique/load=1000/count=100 837.1±41.71µs 878.9±48.36µs +4.99%
stdb_module/disk/insert_bulk/location/unique/load=0/count=100 772.6±37.79µs 762.5±29.45µs -1.31%
stdb_module/disk/insert_bulk/location/unique/load=1000/count=100 1033.3±41.73µs 1031.3±42.92µs -0.19%
stdb_module/disk/insert_bulk/person/multi_index/load=0/count=100 1475.4±75.90µs 1505.9±65.11µs +2.07%
stdb_module/disk/insert_bulk/person/multi_index/load=1000/count=100 1857.5±112.60µs 1972.6±88.47µs +6.20%
stdb_module/disk/insert_bulk/person/non_unique/load=0/count=100 803.2±27.97µs 848.5±47.52µs +5.64%
stdb_module/disk/insert_bulk/person/non_unique/load=1000/count=100 1057.3±48.06µs 1063.0±59.03µs +0.54%
stdb_module/disk/insert_bulk/person/unique/load=0/count=100 1038.5±41.69µs 1058.9±41.15µs +1.96%
stdb_module/disk/insert_bulk/person/unique/load=1000/count=100 1374.1±57.45µs 1456.7±75.96µs +6.01%
stdb_module/disk/iterate/location/unique/count=100 133.0±2.09µs 139.5±3.24µs +4.89%
stdb_module/disk/iterate/person/unique/count=100 226.0±10.33µs 223.8±8.40µs -0.97%
stdb_module/large_arguments/64KiB 109.3±2.47µs 109.5±7.69µs +0.18%
stdb_module/mem/empty 26.0±1.21µs 26.4±1.28µs +1.54%
stdb_module/mem/filter/string/indexed/load=1000/count=10 62.4±6.89µs 15.6 KElem/sec N/A N/A
stdb_module/mem/filter/string/non_indexed/load=1000/count=10 145.2±8.07µs 148.5±3.30µs +2.27%
stdb_module/mem/filter/u64/indexed/load=1000/count=10 51.9±3.73µs 18.8 KElem/sec N/A N/A
stdb_module/mem/filter/u64/non_indexed/load=1000/count=10 120.7±16.59µs 119.3±4.83µs -1.16%
stdb_module/mem/find_unique/u32/load=1000 34.9±1.90µs 28.0 KElem/sec N/A N/A
stdb_module/mem/insert_1/location/multi_index/load=0 42.3±2.40µs 23.1 KElem/sec N/A N/A
stdb_module/mem/insert_1/location/multi_index/load=1000 315.7±40.29µs 335.4±22.20µs +6.24%
stdb_module/mem/insert_1/location/non_unique/load=0 40.8±3.79µs 24.0 KElem/sec N/A N/A
stdb_module/mem/insert_1/location/non_unique/load=1000 204.7±30.41µs 209.2±22.72µs +2.20%
stdb_module/mem/insert_1/location/unique/load=0 45.0±4.34µs 21.7 KElem/sec N/A N/A
stdb_module/mem/insert_1/location/unique/load=1000 299.0±26.07µs 264.7±21.67µs -11.47%
stdb_module/mem/insert_1/person/multi_index/load=0 53.1±6.23µs 18.4 KElem/sec N/A N/A
stdb_module/mem/insert_1/person/multi_index/load=1000 463.5±42.98µs 523.5±52.30µs +12.94%
stdb_module/mem/insert_1/person/non_unique/load=0 40.0±3.14µs 24.4 KElem/sec N/A N/A
stdb_module/mem/insert_1/person/non_unique/load=1000 264.7±48.02µs 274.8±52.43µs +3.82%
stdb_module/mem/insert_1/person/unique/load=0 45.3±3.07µs 21.6 KElem/sec N/A N/A
stdb_module/mem/insert_1/person/unique/load=1000 328.3±38.03µs 357.1±31.17µs +8.77%
stdb_module/mem/insert_bulk/location/multi_index/load=0/count=100 781.7±42.79µs 784.0±22.93µs +0.29%
stdb_module/mem/insert_bulk/location/multi_index/load=1000/count=100 1044.2±64.96µs 1074.5±52.34µs +2.90%
stdb_module/mem/insert_bulk/location/non_unique/load=0/count=100 503.3±6.91µs 524.6±19.11µs +4.23%
stdb_module/mem/insert_bulk/location/non_unique/load=1000/count=100 652.4±30.17µs 664.0±39.86µs +1.78%
stdb_module/mem/insert_bulk/location/unique/load=0/count=100 641.0±24.61µs 650.8±23.57µs +1.53%
stdb_module/mem/insert_bulk/location/unique/load=1000/count=100 851.5±29.65µs 893.4±48.89µs +4.92%
stdb_module/mem/insert_bulk/person/multi_index/load=0/count=100 1381.5±70.95µs 1382.9±50.44µs +0.10%
stdb_module/mem/insert_bulk/person/multi_index/load=1000/count=100 1744.1±70.58µs 1856.0±102.06µs +6.42%
stdb_module/mem/insert_bulk/person/non_unique/load=0/count=100 730.1±31.90µs 737.0±21.82µs +0.95%
stdb_module/mem/insert_bulk/person/non_unique/load=1000/count=100 919.3±36.09µs 952.7±47.76µs +3.63%
stdb_module/mem/insert_bulk/person/unique/load=0/count=100 932.0±15.80µs 989.8±41.57µs +6.20%
stdb_module/mem/insert_bulk/person/unique/load=1000/count=100 1266.2±96.35µs 1255.1±58.97µs -0.88%
stdb_module/mem/iterate/location/unique/count=100 138.9±2.78µs 142.2±6.70µs +2.38%
stdb_module/mem/iterate/person/unique/count=100 229.0±8.78µs 233.0±10.62µs +1.75%
stdb_module/print_bulk/lines=1 35.8±3.05µs 36.0±2.11µs +0.56%
stdb_module/print_bulk/lines=100 335.8±16.72µs 325.5±18.87µs -3.07%
stdb_module/print_bulk/lines=1000 3.0±0.08ms 3.0±0.06ms 0.00%
stdb_raw/disk/empty 104.3±1.34ns 107.8±5.38ns +3.36%
stdb_raw/disk/filter/string/indexed/load=1000/count=10 2.8±0.14µs 351.2 KElem/sec N/A N/A
stdb_raw/disk/filter/string/non_indexed/load=1000/count=10 98.2±3.51µs 105.5±4.40µs +7.43%
stdb_raw/disk/filter/u64/indexed/load=1000/count=10 2.5±0.09µs 392.1 KElem/sec N/A N/A
stdb_raw/disk/filter/u64/non_indexed/load=1000/count=10 78.8±1.21µs 12.4 KElem/sec N/A N/A
stdb_raw/disk/find_unique/u32/load=1000 578.5±19.24ns 1687.9 KElem/sec N/A N/A
stdb_raw/disk/insert_1/location/multi_index/load=0 6.4±0.10µs 153.1 KElem/sec N/A N/A
stdb_raw/disk/insert_1/location/multi_index/load=1000 33.7±2.46µs 29.0 KElem/sec N/A N/A
stdb_raw/disk/insert_1/location/non_unique/load=0 4.1±0.10µs 239.7 KElem/sec N/A N/A
stdb_raw/disk/insert_1/location/non_unique/load=1000 22.2±2.33µs 44.1 KElem/sec N/A N/A
stdb_raw/disk/insert_1/location/unique/load=0 5.1±0.09µs 190.8 KElem/sec N/A N/A
stdb_raw/disk/insert_1/location/unique/load=1000 27.8±9.38µs 35.1 KElem/sec N/A N/A
stdb_raw/disk/insert_1/person/multi_index/load=0 10.5±0.22µs 93.2 KElem/sec N/A N/A
stdb_raw/disk/insert_1/person/multi_index/load=1000 33.5±3.64µs 29.2 KElem/sec N/A N/A
stdb_raw/disk/insert_1/person/non_unique/load=0 4.9±0.27µs 197.4 KElem/sec N/A N/A
stdb_raw/disk/insert_1/person/non_unique/load=1000 17.2±0.84µs 56.8 KElem/sec N/A N/A
stdb_raw/disk/insert_1/person/unique/load=0 7.0±0.10µs 139.0 KElem/sec N/A N/A
stdb_raw/disk/insert_1/person/unique/load=1000 28.9±13.82µs 33.8 KElem/sec N/A N/A
stdb_raw/disk/insert_bulk/location/multi_index/load=0/count=100 376.1±13.17µs 370.6±5.63µs -1.46%
stdb_raw/disk/insert_bulk/location/multi_index/load=1000/count=100 440.4±9.77µs 442.9±10.34µs +0.57%
stdb_raw/disk/insert_bulk/location/non_unique/load=0/count=100 175.8±9.88µs 170.3±3.49µs -3.13%
stdb_raw/disk/insert_bulk/location/non_unique/load=1000/count=100 195.1±5.15µs 206.2±13.13µs +5.69%
stdb_raw/disk/insert_bulk/location/unique/load=0/count=100 265.1±5.80µs 276.3±14.70µs +4.22%
stdb_raw/disk/insert_bulk/location/unique/load=1000/count=100 325.5±5.49µs 344.8±19.57µs +5.93%
stdb_raw/disk/insert_bulk/person/multi_index/load=0/count=100 779.2±36.73µs 770.3±23.56µs -1.14%
stdb_raw/disk/insert_bulk/person/multi_index/load=1000/count=100 829.9±24.73µs 868.4±38.41µs +4.64%
stdb_raw/disk/insert_bulk/person/non_unique/load=0/count=100 240.3±11.57µs 235.7±13.79µs -1.91%
stdb_raw/disk/insert_bulk/person/non_unique/load=1000/count=100 262.2±7.32µs 260.1±5.00µs -0.80%
stdb_raw/disk/insert_bulk/person/unique/load=0/count=100 447.0±22.16µs 439.9±9.85µs -1.59%
stdb_raw/disk/insert_bulk/person/unique/load=1000/count=100 491.1±13.01µs 513.9±26.28µs +4.64%
stdb_raw/disk/iterate/location/unique/count=100 7.1±0.24µs 137.6 KElem/sec N/A N/A
stdb_raw/disk/iterate/person/unique/count=100 8.5±0.19µs 115.4 KElem/sec N/A N/A
stdb_raw/mem/empty 103.9±1.19ns 104.3±1.87ns +0.38%
stdb_raw/mem/filter/string/indexed/load=1000/count=10 2.6±0.04µs 370.0 KElem/sec N/A N/A
stdb_raw/mem/filter/string/non_indexed/load=1000/count=10 100.4±4.64µs 103.0±2.60µs +2.59%
stdb_raw/mem/filter/u64/indexed/load=1000/count=10 2.5±0.08µs 395.5 KElem/sec N/A N/A
stdb_raw/mem/filter/u64/non_indexed/load=1000/count=10 78.5±2.18µs 12.4 KElem/sec N/A N/A
stdb_raw/mem/find_unique/u32/load=1000 578.9±13.94ns 1687.0 KElem/sec N/A N/A
stdb_raw/mem/insert_1/location/multi_index/load=0 5.0±0.16µs 194.2 KElem/sec N/A N/A
stdb_raw/mem/insert_1/location/multi_index/load=1000 28.4±1.31µs 34.3 KElem/sec N/A N/A
stdb_raw/mem/insert_1/location/non_unique/load=0 2.7±0.05µs 360.4 KElem/sec N/A N/A
stdb_raw/mem/insert_1/location/non_unique/load=1000 19.2±1.20µs 50.8 KElem/sec N/A N/A
stdb_raw/mem/insert_1/location/unique/load=0 3.8±0.24µs 257.5 KElem/sec N/A N/A
stdb_raw/mem/insert_1/location/unique/load=1000 24.4±1.17µs 40.1 KElem/sec N/A N/A
stdb_raw/mem/insert_1/person/multi_index/load=0 8.7±0.15µs 111.9 KElem/sec N/A N/A
stdb_raw/mem/insert_1/person/multi_index/load=1000 31.3±4.17µs 31.2 KElem/sec N/A N/A
stdb_raw/mem/insert_1/person/non_unique/load=0 3.2±0.06µs 300.8 KElem/sec N/A N/A
stdb_raw/mem/insert_1/person/non_unique/load=1000 16.1±1.73µs 60.5 KElem/sec N/A N/A
stdb_raw/mem/insert_1/person/unique/load=0 5.2±0.07µs 186.1 KElem/sec N/A N/A
stdb_raw/mem/insert_1/person/unique/load=1000 20.9±1.10µs 46.6 KElem/sec N/A N/A
stdb_raw/mem/insert_bulk/location/multi_index/load=0/count=100 390.4±16.50µs 386.5±19.64µs -1.00%
stdb_raw/mem/insert_bulk/location/multi_index/load=1000/count=100 439.4±17.66µs 427.4±8.90µs -2.73%
stdb_raw/mem/insert_bulk/location/non_unique/load=0/count=100 171.2±8.05µs 161.0±3.72µs -5.96%
stdb_raw/mem/insert_bulk/location/non_unique/load=1000/count=100 189.2±7.91µs 187.3±8.47µs -1.00%
stdb_raw/mem/insert_bulk/location/unique/load=0/count=100 273.8±8.72µs 278.5±13.91µs +1.72%
stdb_raw/mem/insert_bulk/location/unique/load=1000/count=100 321.7±11.04µs 316.4±5.68µs -1.65%
stdb_raw/mem/insert_bulk/person/multi_index/load=0/count=100 747.6±14.08µs 760.5±22.31µs +1.73%
stdb_raw/mem/insert_bulk/person/multi_index/load=1000/count=100 832.2±31.64µs 825.7±30.95µs -0.78%
stdb_raw/mem/insert_bulk/person/non_unique/load=0/count=100 231.8±4.52µs 234.6±9.91µs +1.21%
stdb_raw/mem/insert_bulk/person/non_unique/load=1000/count=100 253.2±5.12µs 256.0±7.77µs +1.11%
stdb_raw/mem/insert_bulk/person/unique/load=0/count=100 424.7±5.96µs 435.7±15.35µs +2.59%
stdb_raw/mem/insert_bulk/person/unique/load=1000/count=100 505.8±27.22µs 494.8±22.73µs -2.17%
stdb_raw/mem/iterate/location/unique/count=100 7.1±0.23µs 137.1 KElem/sec N/A N/A
stdb_raw/mem/iterate/person/unique/count=100 8.5±0.33µs 114.5 KElem/sec N/A N/A

Please sign in to comment.