@@ -193,7 +193,7 @@ def lookup_embedding_using_index_values_body(dataset: DatasetEntry) -> None:
193193
194194 # Currently `using_index_values` will actually give us a single result, and so we have the option
195195 # to use that to improve the performance of this query.
196- # TODO(https://linear.app/rerun/issue/ DPF- 1818/ ): Decide if this is actually something we want to depend on
196+ # TODO(DPF# 1818): Decide if this is actually something we want to depend on
197197
198198 result = (
199199 dataset .dataframe_query_view (index = "real_time" , contents = "/camera/wrist/embedding" )
@@ -228,41 +228,6 @@ def sample_index_values_body(dataset: DatasetEntry) -> None:
228228 assert len (result ) > 0
229229
230230
231- @pytest .mark .benchmark (group = "droid" )
232- def test_sample_index_values_chunk_ids (benchmark : BenchmarkFixture , tracing : trace .Span , dataset : DatasetEntry ) -> None :
233- """Find the Chunk IDs needed for `sample_index_values`."""
234- tracing .set_attribute ("test_dataset" , dataset .name )
235- benchmark .pedantic (
236- sample_index_values_chunk_ids_body ,
237- args = (dataset ,),
238- rounds = 1 ,
239- )
240-
241-
242- def sample_index_values_chunk_ids_body (dataset : DatasetEntry ) -> None :
243- """Find the Chunk IDs needed for `sample_index_values`."""
244- wrist = dataset .dataframe_query_view (
245- index = "log_tick" ,
246- contents = "/camera/wrist/embedding /thumbnail/camera/wrist" ,
247- )
248-
249- sampled_times = [0 , 100 , 200 , 500 , 1000 , 2000 ]
250- results = (wrist .filter_index_values (sampled_times ).fill_latest_at ()).get_chunk_ids ()
251- for batch in results :
252- assert batch .num_rows > 0
253-
254-
255- @pytest .mark .benchmark (group = "droid" )
256- def test_align_fixed_frequency (benchmark : BenchmarkFixture , tracing : trace .Span , dataset : DatasetEntry ) -> None :
257- """Align two columns to a fixed frequency."""
258- tracing .set_attribute ("test_dataset" , dataset .name )
259- benchmark .pedantic (
260- align_fixed_frequency_body ,
261- args = (dataset ,),
262- rounds = 1 ,
263- )
264-
265-
266231def align_fixed_frequency_body (dataset : DatasetEntry ) -> None :
267232 """Align two columns to a fixed frequency."""
268233 # Grab the cheaper column to get range of times until we can pushdown
0 commit comments