Skip to content

Commit

Permalink
and re_query ofc!
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Dec 18, 2022
1 parent 2750264 commit cb0d833
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/re_query/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ pub fn get_component_with_instances(
.map(|(&component, col)| Series::try_from((component, col)))
.collect();

let df = DataFrame::new(series?)?;
let exploded = df.explode(df.get_column_names())?;

Ok(exploded)
DataFrame::new(series?).map_err(Into::into)
}

/// If a `DataFrame` has no `Instance` column create one from the row numbers
Expand Down

1 comment on commit cb0d833

@github-actions
Copy link

Choose a reason for hiding this comment

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

Rust Benchmark

Benchmark suite Current: cb0d833 Previous: 2750264 Ratio
datastore/batch/rects/insert 1682482 ns/iter (± 6727) 1714188 ns/iter (± 8451) 0.98
datastore/batch/rects/query 1333 ns/iter (± 3) 1326 ns/iter (± 1) 1.01
obj_mono_points/insert 859921702 ns/iter (± 7068830) 972738474 ns/iter (± 5590762) 0.88
obj_mono_points/query 331317 ns/iter (± 1324) 350962 ns/iter (± 3372) 0.94
obj_batch_points/insert 89081418 ns/iter (± 349455) 96706102 ns/iter (± 621418) 0.92
obj_batch_points/query 11393 ns/iter (± 64) 11367 ns/iter (± 23) 1.00
obj_batch_points_sequential/insert 22546224 ns/iter (± 192464) 23539499 ns/iter (± 208117) 0.96
obj_batch_points_sequential/query 5697 ns/iter (± 19) 5662 ns/iter (± 10) 1.01
obj_batch_points_sequential/Tuid::random 37 ns/iter (± 0) 37 ns/iter (± 0) 1

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.