Skip to content

Commit a87d0a4

Browse files
committed
Add a profile scope
1 parent 7e055cb commit a87d0a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/store/re_data_loader/src/loader_archetype.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,10 @@ fn load_video(
193193
re_log_types::TimeCell::ZERO_DURATION,
194194
);
195195

196-
let video_asset = AssetVideo::new(contents);
196+
let video_asset = {
197+
re_tracing::profile_scope!("serialize-as-arrow");
198+
AssetVideo::new(contents)
199+
};
197200

198201
let video_frame_reference_chunk = match video_asset.read_frame_timestamps_nanos() {
199202
Ok(frame_timestamps_nanos) => {

0 commit comments

Comments
 (0)