Skip to content

Commit a538200

Browse files
committed
Remove benchmark bits
1 parent 741cc96 commit a538200

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

tests/test_unit/test_io/test_load_bboxes.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -738,31 +738,3 @@ def test_position_numpy_array_from_via_tracks_file(via_file_path):
738738
bboxes_arrays["position_array"], # frames, xy, individuals
739739
np.stack(list_derived_centroids, axis=-1),
740740
)
741-
742-
743-
@pytest.mark.benchmark
744-
@pytest.mark.parametrize(
745-
"via_file_path",
746-
[
747-
pytest.DATA_PATHS.get("VIA_multiple-crabs_5-frames_labels.csv"),
748-
pytest.DATA_PATHS.get("VIA_single-crab_MOCA-crab-1.csv"),
749-
],
750-
)
751-
def test_benchmark_from_via_tracks_file(via_file_path, benchmark):
752-
"""Benchmark the loading of a VIA tracks .csv file."""
753-
benchmark(load_bboxes.from_via_tracks_file, via_file_path)
754-
755-
756-
@pytest.mark.benchmark
757-
@pytest.mark.parametrize(
758-
"via_file_path",
759-
[
760-
pytest.DATA_PATHS.get("VIA_multiple-crabs_5-frames_labels.csv"),
761-
# multiple crabs present in all 5 frames
762-
pytest.DATA_PATHS.get("VIA_single-crab_MOCA-crab-1.csv"),
763-
# single crab present in 35 non-consecutive frames
764-
],
765-
)
766-
def test_benchmark_df_from_via_tracks_file(via_file_path, benchmark):
767-
"""Benchmark the `_df_from_via_tracks_file` function."""
768-
benchmark(load_bboxes._df_from_via_tracks_file, via_file_path)

0 commit comments

Comments
 (0)