From c09101fafb6e9928518e13969d21feb4c2249750 Mon Sep 17 00:00:00 2001 From: Florian M Date: Wed, 8 Nov 2023 11:04:33 +0100 Subject: [PATCH] Speed up dataset tests, compressed writes to zarr3 arrays (#963) * Add pytest-timestamper to debug slow tests * add shortuct for reading from zarrita array * smaller shard shape * do full test again * update test durations * changelog * fix after merge --- webknossos/.test_durations | 930 ++++++++++++----------- webknossos/Changelog.md | 1 + webknossos/poetry.lock | 32 +- webknossos/pyproject.toml | 1 + webknossos/tests/dataset/test_dataset.py | 22 +- webknossos/webknossos/dataset/_array.py | 14 +- 6 files changed, 542 insertions(+), 458 deletions(-) diff --git a/webknossos/.test_durations b/webknossos/.test_durations index 93f42e777..1b824a669 100644 --- a/webknossos/.test_durations +++ b/webknossos/.test_durations @@ -1,455 +1,497 @@ { - "tests/client/test_context.py::test_trailing_slash_in_url": 0.09711775928735733, - "tests/client/test_context.py::test_user_organization": 0.138962522149086, - "tests/client/test_user.py::test_get_all_managed_users": 0.13773640245199203, - "tests/client/test_user.py::test_get_current_user": 0.14787963032722473, - "tests/client/test_user.py::test_get_logged_time": 0.17141945660114288, - "tests/dataset/test_add_layer_from_images.py::test_bioformats[HEART.zip-HEART.SEQ-kwargs2-uint8-1-size2-1]": 6.910633958876133, - "tests/dataset/test_add_layer_from_images.py::test_bioformats[sdub.zip-sdub*.pic-kwargs3-uint8-1-size3-1]": 6.618047468364239, - "tests/dataset/test_add_layer_from_images.py::test_bioformats[sdub.zip-sdub*.pic-kwargs4-uint8-1-size4-12]": 20.702923387289047, - "tests/dataset/test_add_layer_from_images.py::test_bioformats[test-avi.zip-t1-rendering.avi-kwargs5-uint8-3-size5-1]": 9.382161669433117, - "tests/dataset/test_add_layer_from_images.py::test_bioformats[wtembryo.zip-wtembryo.mov-kwargs0-uint8-3-size0-1]": 20.287804044783115, - "tests/dataset/test_add_layer_from_images.py::test_bioformats[wtembryo.zip-wtembryo.mov-kwargs1-uint8-3-size1-1]": 6.086321130394936, - "tests/dataset/test_add_layer_from_images.py::test_compare_tifffile": 2.6286329329013824, - "tests/dataset/test_add_layer_from_images.py::test_repo_images[*.jpg-kwargs4-uint8-1-size4]": 2.77986329048872, - "tests/dataset/test_add_layer_from_images.py::test_repo_images[path1-kwargs1-uint8-1-size1]": 2.5645951628684998, - "tests/dataset/test_add_layer_from_images.py::test_repo_images[rgb_tiff-kwargs3-uint32-1-size3]": 3.1885070875287056, - "tests/dataset/test_add_layer_from_images.py::test_repo_images[single_multipage_tiff_folder-kwargs9-uint8-1-size9]": 16.99657666683197, - "tests/dataset/test_add_layer_from_images.py::test_repo_images[temca2-kwargs5-uint8-1-size5]": 2.58754301071167, - "tests/dataset/test_add_layer_from_images.py::test_repo_images[test.*.tiff-kwargs0-uint8-1-size0]": 14.968110881745815, - "tests/dataset/test_add_layer_from_images.py::test_repo_images[test_C.tif-kwargs8-uint8-1-size8]": 18.219953060150146, - "tests/dataset/test_add_layer_from_images.py::test_repo_images[test_CS.tif-kwargs7-uint8-3-size7]": 35.24679423123598, - "tests/dataset/test_add_layer_from_images.py::test_repo_images[test_I.tif-kwargs10-uint32-1-size10]": 7.782318107783794, - "tests/dataset/test_add_layer_from_images.py::test_repo_images[test_S.tif-kwargs11-uint16-3-size11]": 9.79768293350935, - "tests/dataset/test_add_layer_from_images.py::test_repo_images[test_rgb.tif-kwargs2-uint8-3-size2]": 2.9853815361857414, + "tests/client/test_context.py::test_trailing_slash_in_url": 0.09257699100271566, + "tests/client/test_context.py::test_user_organization": 0.1135318200031179, + "tests/client/test_user.py::test_get_all_managed_users": 0.11166151900033583, + "tests/client/test_user.py::test_get_current_user": 0.11530121300165774, + "tests/client/test_user.py::test_get_logged_time": 0.1324601359992812, + "tests/dataset/test_add_layer_from_images.py::test_bioformats[HEART.zip-HEART.SEQ-kwargs2-uint8-1-size2-1]": 7.087574291999772, + "tests/dataset/test_add_layer_from_images.py::test_bioformats[sdub.zip-sdub*.pic-kwargs3-uint8-1-size3-1]": 6.050046503998601, + "tests/dataset/test_add_layer_from_images.py::test_bioformats[sdub.zip-sdub*.pic-kwargs4-uint8-1-size4-12]": 19.362434763002966, + "tests/dataset/test_add_layer_from_images.py::test_bioformats[test-avi.zip-t1-rendering.avi-kwargs5-uint8-3-size5-1]": 8.368408474001626, + "tests/dataset/test_add_layer_from_images.py::test_bioformats[wtembryo.zip-wtembryo.mov-kwargs0-uint8-3-size0-1]": 19.95144102300037, + "tests/dataset/test_add_layer_from_images.py::test_bioformats[wtembryo.zip-wtembryo.mov-kwargs1-uint8-3-size1-1]": 6.034687354000198, + "tests/dataset/test_add_layer_from_images.py::test_compare_tifffile": 4.227914741997665, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[*.jpg-kwargs4-uint8-1-size4]": 2.601719618000061, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[path1-kwargs1-uint8-1-size1]": 2.3635037669992016, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[rgb_tiff-kwargs3-uint32-1-size3]": 2.9609854460031784, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[single_multipage_tiff_folder-kwargs9-uint8-1-size9]": 16.248877684003673, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[temca2-kwargs5-uint8-1-size5]": 2.612239761001547, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[test.*.tiff-kwargs0-uint8-1-size0]": 15.040801240000292, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[test_C.tif-kwargs8-uint8-1-size8]": 16.516821492998133, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[test_CS.tif-kwargs7-uint8-3-size7]": 29.76521359599792, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[test_I.tif-kwargs10-uint32-1-size10]": 6.9812055049987976, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[test_S.tif-kwargs11-uint16-3-size11]": 8.91548626799704, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[test_rgb.tif-kwargs2-uint8-3-size2]": 2.7448244409970357, "tests/dataset/test_add_layer_from_images.py::test_repo_images[tiff_with_different_dimensions/*-kwargs6-uint8-1-size6]": 6.993092872202396, - "tests/dataset/test_add_layer_from_images.py::test_test_images[8909407-embedded_NCI_mono_matrigelcollagen_docetaxel_day10_sample10.czi-kwargs4-uint16-1-size4]": 9.145977079868317, - "tests/dataset/test_add_layer_from_images.py::test_test_images[dnasample1.zip-dnasample1.dm3-kwargs3-int16-1-size3]": 12.356782637536526, - "tests/dataset/test_add_layer_from_images.py::test_test_images[slice_0073.dm3-slice_0073.dm3-kwargs1-uint16-1-size1]": 32.428119122982025, - "tests/dataset/test_add_layer_from_images.py::test_test_images[slice_0420.dm4-slice_0420.dm4-kwargs0-uint16-1-size0]": 34.17655944079161, - "tests/dataset/test_add_layer_from_images.py::test_test_images[test-gif.zip-scifio-test.gif-kwargs5-uint8-3-size5]": 6.9841322004795074, - "tests/dataset/test_add_layer_from_images.py::test_test_images[test-jpeg2000.zip-scifio-test.jp2-kwargs6-uint8-3-size6]": 7.888614937663078, - "tests/dataset/test_add_layer_from_images.py::test_test_images[test-jpg.zip-scifio-test.jpg-kwargs7-uint8-3-size7]": 7.7163009867072105, - "tests/dataset/test_add_layer_from_images.py::test_test_images[test-png.zip-scifio-test.png-kwargs8-uint8-3-size8]": 7.36433519423008, - "tests/dataset/test_add_layer_from_images.py::test_test_images[url2-filename2-kwargs2-uint16-1-size2]": 108.11148180812597, - "tests/dataset/test_buffered_slice_utils.py::test_buffered_slice_reader_along_different_axis": 0.14544659852981567, - "tests/dataset/test_buffered_slice_utils.py::test_buffered_slice_writer": 0.1422876939177513, - "tests/dataset/test_buffered_slice_utils.py::test_buffered_slice_writer_along_different_axis": 0.15209832787513733, - "tests/dataset/test_dataset.py::test_add_copy_layer[wkw-output_path0]": 0.18595301359891891, - "tests/dataset/test_dataset.py::test_add_copy_layer[zarr-output_path1]": 0.5073649361729622, - "tests/dataset/test_dataset.py::test_add_copy_layer[zarr-output_path2]": 3.904415436089039, - "tests/dataset/test_dataset.py::test_add_copy_layer[zarr3-output_path3]": 1.470801703631878, - "tests/dataset/test_dataset.py::test_add_copy_layer[zarr3-output_path4]": 3.3686941787600517, - "tests/dataset/test_dataset.py::test_add_copy_mag[wkw-output_path0]": 0.16125328838825226, - "tests/dataset/test_dataset.py::test_add_copy_mag[zarr-output_path1]": 0.21286354213953018, - "tests/dataset/test_dataset.py::test_add_copy_mag[zarr-output_path2]": 1.3720044493675232, - "tests/dataset/test_dataset.py::test_add_copy_mag[zarr3-output_path3]": 1.7417592778801918, - "tests/dataset/test_dataset.py::test_add_copy_mag[zarr3-output_path4]": 2.6505800038576126, - "tests/dataset/test_dataset.py::test_add_fs_copy_mag[wkw-output_path0]": 1.0336611717939377, - "tests/dataset/test_dataset.py::test_add_fs_copy_mag[zarr-output_path1]": 0.18779206275939941, - "tests/dataset/test_dataset.py::test_add_fs_copy_mag[zarr-output_path2]": 1.070707954466343, - "tests/dataset/test_dataset.py::test_add_fs_copy_mag[zarr3-output_path3]": 1.2071994990110397, - "tests/dataset/test_dataset.py::test_add_fs_copy_mag[zarr3-output_path4]": 1.8742897883057594, - "tests/dataset/test_dataset.py::test_add_layer_like[wkw-output_path0]": 0.16449640691280365, - "tests/dataset/test_dataset.py::test_add_layer_like[zarr-output_path1]": 0.19705278426408768, - "tests/dataset/test_dataset.py::test_add_layer_like[zarr-output_path2]": 1.012997642159462, - "tests/dataset/test_dataset.py::test_add_layer_like[zarr3-output_path3]": 0.23493477702140808, - "tests/dataset/test_dataset.py::test_add_layer_like[zarr3-output_path4]": 0.505281612277031, - "tests/dataset/test_dataset.py::test_add_symlink_layer[wkw]": 0.15650521963834763, + "tests/dataset/test_add_layer_from_images.py::test_repo_images[tiff_with_different_shapes/*-kwargs6-uint8-1-size6]": 7.422201753997797, + "tests/dataset/test_add_layer_from_images.py::test_test_images[8909407-embedded_NCI_mono_matrigelcollagen_docetaxel_day10_sample10.czi-kwargs4-uint16-1-size4]": 9.006222713996976, + "tests/dataset/test_add_layer_from_images.py::test_test_images[dnasample1.zip-dnasample1.dm3-kwargs3-int16-1-size3]": 62.24568303199703, + "tests/dataset/test_add_layer_from_images.py::test_test_images[slice_0073.dm3-slice_0073.dm3-kwargs1-uint16-1-size1]": 61.87713256999996, + "tests/dataset/test_add_layer_from_images.py::test_test_images[slice_0420.dm4-slice_0420.dm4-kwargs0-uint16-1-size0]": 95.67991704800443, + "tests/dataset/test_add_layer_from_images.py::test_test_images[test-gif.zip-scifio-test.gif-kwargs5-uint8-3-size5]": 7.260150744001294, + "tests/dataset/test_add_layer_from_images.py::test_test_images[test-jpeg2000.zip-scifio-test.jp2-kwargs6-uint8-3-size6]": 8.15941671499968, + "tests/dataset/test_add_layer_from_images.py::test_test_images[test-jpg.zip-scifio-test.jpg-kwargs7-uint8-3-size7]": 7.007209358998807, + "tests/dataset/test_add_layer_from_images.py::test_test_images[test-png.zip-scifio-test.png-kwargs8-uint8-3-size8]": 7.252464698001859, + "tests/dataset/test_add_layer_from_images.py::test_test_images[url2-filename2-kwargs2-uint16-1-size2]": 83.99877371200273, + "tests/dataset/test_buffered_slice_utils.py::test_basic_buffered_slice_writer": 0.25339054099822533, + "tests/dataset/test_buffered_slice_utils.py::test_basic_buffered_slice_writer_multi_shard": 0.16491122799925506, + "tests/dataset/test_buffered_slice_utils.py::test_basic_buffered_slice_writer_multi_shard_multi_channel": 0.257596627001476, + "tests/dataset/test_buffered_slice_utils.py::test_buffered_slice_reader_along_different_axis": 0.1432703999998921, + "tests/dataset/test_buffered_slice_utils.py::test_buffered_slice_writer": 0.16543359799834434, + "tests/dataset/test_buffered_slice_utils.py::test_buffered_slice_writer_along_different_axis": 0.14752850299919373, + "tests/dataset/test_buffered_slice_utils.py::test_buffered_slice_writer_should_warn_about_unaligned_usage": 0.25357251099921996, + "tests/dataset/test_dataset.py::test_add_copy_layer[wkw-output_path0]": 0.1792946210007358, + "tests/dataset/test_dataset.py::test_add_copy_layer[zarr-output_path1]": 0.47266625900010695, + "tests/dataset/test_dataset.py::test_add_copy_layer[zarr-output_path2]": 1.9598717679946276, + "tests/dataset/test_dataset.py::test_add_copy_layer[zarr3-output_path3]": 1.3011807759976364, + "tests/dataset/test_dataset.py::test_add_copy_layer[zarr3-output_path4]": 2.474462518002838, + "tests/dataset/test_dataset.py::test_add_copy_mag[wkw-output_path0]": 0.1601042689944734, + "tests/dataset/test_dataset.py::test_add_copy_mag[zarr-output_path1]": 0.22058510099668638, + "tests/dataset/test_dataset.py::test_add_copy_mag[zarr-output_path2]": 0.5604300149971095, + "tests/dataset/test_dataset.py::test_add_copy_mag[zarr3-output_path3]": 1.3965028769998753, + "tests/dataset/test_dataset.py::test_add_copy_mag[zarr3-output_path4]": 1.7905022579943761, + "tests/dataset/test_dataset.py::test_add_fs_copy_mag[wkw-output_path0]": 1.0587072369999078, + "tests/dataset/test_dataset.py::test_add_fs_copy_mag[zarr-output_path1]": 0.19827625099787838, + "tests/dataset/test_dataset.py::test_add_fs_copy_mag[zarr-output_path2]": 0.8682293500023661, + "tests/dataset/test_dataset.py::test_add_fs_copy_mag[zarr3-output_path3]": 1.097654209999746, + "tests/dataset/test_dataset.py::test_add_fs_copy_mag[zarr3-output_path4]": 1.7411661139958596, + "tests/dataset/test_dataset.py::test_add_layer_like[wkw-output_path0]": 0.165299648000655, + "tests/dataset/test_dataset.py::test_add_layer_like[zarr-output_path1]": 0.18565849700098624, + "tests/dataset/test_dataset.py::test_add_layer_like[zarr-output_path2]": 0.5905731080019905, + "tests/dataset/test_dataset.py::test_add_layer_like[zarr3-output_path3]": 0.247258610001154, + "tests/dataset/test_dataset.py::test_add_layer_like[zarr3-output_path4]": 0.5465446630005317, + "tests/dataset/test_dataset.py::test_add_symlink_layer[wkw]": 0.20705986999746528, "tests/dataset/test_dataset.py::test_add_symlink_layer[zarr3]": 0.2276834025979042, - "tests/dataset/test_dataset.py::test_add_symlink_layer[zarr]": 0.20550519227981567, - "tests/dataset/test_dataset.py::test_add_symlink_mag[wkw]": 0.16174720972776413, + "tests/dataset/test_dataset.py::test_add_symlink_layer[zarr]": 0.23992342299970915, + "tests/dataset/test_dataset.py::test_add_symlink_mag[wkw]": 0.20519431399952737, "tests/dataset/test_dataset.py::test_add_symlink_mag[zarr3]": 0.15740349888801575, - "tests/dataset/test_dataset.py::test_add_symlink_mag[zarr]": 0.16584603488445282, - "tests/dataset/test_dataset.py::test_adding_layer_with_invalid_dtype_per_layer": 0.14407998323440552, - "tests/dataset/test_dataset.py::test_adding_layer_with_valid_dtype_per_layer": 0.16540693491697311, - "tests/dataset/test_dataset.py::test_aligned_downsampling[wkw-output_path0]": 4.610209338366985, - "tests/dataset/test_dataset.py::test_aligned_downsampling[zarr-output_path1]": 4.164925679564476, - "tests/dataset/test_dataset.py::test_aligned_downsampling[zarr-output_path2]": 6.422370374202728, - "tests/dataset/test_dataset.py::test_aligned_downsampling[zarr3-output_path3]": 118.30109371989965, - "tests/dataset/test_dataset.py::test_aligned_downsampling[zarr3-output_path4]": 114.46467524021864, - "tests/dataset/test_dataset.py::test_bounding_box_on_disk[wkw-output_path0]": 0.15774954110383987, - "tests/dataset/test_dataset.py::test_bounding_box_on_disk[zarr-output_path1]": 1.2571222484111786, - "tests/dataset/test_dataset.py::test_bounding_box_on_disk[zarr-output_path2]": 2.204676076769829, - "tests/dataset/test_dataset.py::test_bounding_box_on_disk[zarr3-output_path3]": 1.3334991186857224, - "tests/dataset/test_dataset.py::test_bounding_box_on_disk[zarr3-output_path4]": 1.750510923564434, - "tests/dataset/test_dataset.py::test_can_compress_mag8": 2.941209949553013, - "tests/dataset/test_dataset.py::test_changing_layer_bounding_box[wkw-output_path0]": 0.1532900258898735, - "tests/dataset/test_dataset.py::test_changing_layer_bounding_box[zarr-output_path1]": 0.1791110634803772, - "tests/dataset/test_dataset.py::test_changing_layer_bounding_box[zarr-output_path2]": 0.623000256717205, - "tests/dataset/test_dataset.py::test_changing_layer_bounding_box[zarr3-output_path3]": 0.2057747319340706, - "tests/dataset/test_dataset.py::test_changing_layer_bounding_box[zarr3-output_path4]": 0.4556259736418724, - "tests/dataset/test_dataset.py::test_chunking_wk[wkw-output_path0]": 3.337127596139908, - "tests/dataset/test_dataset.py::test_chunking_wk[zarr-output_path1]": 3.4289080649614334, - "tests/dataset/test_dataset.py::test_chunking_wk[zarr-output_path2]": 5.306980200111866, - "tests/dataset/test_dataset.py::test_chunking_wk[zarr3-output_path3]": 4.744819223880768, - "tests/dataset/test_dataset.py::test_chunking_wk[zarr3-output_path4]": 32.225142121315, + "tests/dataset/test_dataset.py::test_add_symlink_mag[zarr]": 0.1888078280026093, + "tests/dataset/test_dataset.py::test_adding_layer_with_invalid_dtype_per_layer": 0.14725921299759648, + "tests/dataset/test_dataset.py::test_adding_layer_with_valid_dtype_per_layer": 0.15549679700416164, + "tests/dataset/test_dataset.py::test_aligned_downsampling[wkw-output_path0]": 5.340118695003184, + "tests/dataset/test_dataset.py::test_aligned_downsampling[zarr-output_path1]": 4.712451595001767, + "tests/dataset/test_dataset.py::test_aligned_downsampling[zarr-output_path2]": 5.448822695005219, + "tests/dataset/test_dataset.py::test_aligned_downsampling[zarr3-output_path3]": 4.353779680997832, + "tests/dataset/test_dataset.py::test_aligned_downsampling[zarr3-output_path4]": 5.386355480997736, + "tests/dataset/test_dataset.py::test_bounding_box_on_disk[wkw-output_path0]": 0.17027326500465279, + "tests/dataset/test_dataset.py::test_bounding_box_on_disk[zarr-output_path1]": 0.9718385720007063, + "tests/dataset/test_dataset.py::test_bounding_box_on_disk[zarr-output_path2]": 1.2932793580039288, + "tests/dataset/test_dataset.py::test_bounding_box_on_disk[zarr3-output_path3]": 1.0322716610025964, + "tests/dataset/test_dataset.py::test_bounding_box_on_disk[zarr3-output_path4]": 1.3913291240023682, + "tests/dataset/test_dataset.py::test_can_compress_mag8": 2.739998888999253, + "tests/dataset/test_dataset.py::test_changing_layer_bounding_box[wkw-output_path0]": 0.15457785800026613, + "tests/dataset/test_dataset.py::test_changing_layer_bounding_box[zarr-output_path1]": 0.17408963100024266, + "tests/dataset/test_dataset.py::test_changing_layer_bounding_box[zarr-output_path2]": 0.4125329260023136, + "tests/dataset/test_dataset.py::test_changing_layer_bounding_box[zarr3-output_path3]": 0.20943273200464319, + "tests/dataset/test_dataset.py::test_changing_layer_bounding_box[zarr3-output_path4]": 0.41704156500054523, + "tests/dataset/test_dataset.py::test_chunked_compressed_write": 4.161645820000558, + "tests/dataset/test_dataset.py::test_chunking_wk[wkw-output_path0]": 3.147443673999078, + "tests/dataset/test_dataset.py::test_chunking_wk[zarr-output_path1]": 3.1121109970008547, + "tests/dataset/test_dataset.py::test_chunking_wk[zarr-output_path2]": 4.340302389002318, + "tests/dataset/test_dataset.py::test_chunking_wk[zarr3-output_path3]": 4.3948685670002305, + "tests/dataset/test_dataset.py::test_chunking_wk[zarr3-output_path4]": 25.018777917997795, "tests/dataset/test_dataset.py::test_chunking_wkw_advanced": 10.923783383000227, - "tests/dataset/test_dataset.py::test_chunking_wkw_advanced[wkw]": 4.530989609658718, - "tests/dataset/test_dataset.py::test_chunking_wkw_advanced[zarr3]": 4.547753758728504, - "tests/dataset/test_dataset.py::test_chunking_wkw_wrong_chunk_shape[wkw-output_path0]": 1.9480701237916946, - "tests/dataset/test_dataset.py::test_chunking_wkw_wrong_chunk_shape[zarr-output_path1]": 3.406332515180111, - "tests/dataset/test_dataset.py::test_chunking_wkw_wrong_chunk_shape[zarr-output_path2]": 5.1533117070794106, - "tests/dataset/test_dataset.py::test_chunking_wkw_wrong_chunk_shape[zarr3-output_path3]": 3.8415721356868744, - "tests/dataset/test_dataset.py::test_chunking_wkw_wrong_chunk_shape[zarr3-output_path4]": 4.484516456723213, - "tests/dataset/test_dataset.py::test_compression[wkw-output_path0]": 3.423938825726509, - "tests/dataset/test_dataset.py::test_compression[zarr-output_path1]": 3.6632084101438522, - "tests/dataset/test_dataset.py::test_compression[zarr-output_path2]": 13.479233466088772, - "tests/dataset/test_dataset.py::test_compression[zarr3-output_path3]": 3.9344922974705696, - "tests/dataset/test_dataset.py::test_compression[zarr3-output_path4]": 10.477323681116104, - "tests/dataset/test_dataset.py::test_create_dataset_with_explicit_header_fields": 0.15005005151033401, - "tests/dataset/test_dataset.py::test_create_dataset_with_layer_and_mag[wkw-output_path0]": 1.5523621663451195, - "tests/dataset/test_dataset.py::test_create_dataset_with_layer_and_mag[zarr-output_path1]": 0.1572738066315651, - "tests/dataset/test_dataset.py::test_create_dataset_with_layer_and_mag[zarr-output_path2]": 0.7700744941830635, - "tests/dataset/test_dataset.py::test_create_dataset_with_layer_and_mag[zarr3-output_path3]": 0.18276875466108322, - "tests/dataset/test_dataset.py::test_create_dataset_with_layer_and_mag[zarr3-output_path4]": 0.48571743816137314, - "tests/dataset/test_dataset.py::test_create_default_layer": 0.13983935117721558, - "tests/dataset/test_dataset.py::test_create_default_mag[wkw]": 0.14925192296504974, + "tests/dataset/test_dataset.py::test_chunking_wkw_advanced[wkw]": 4.0819201310005155, + "tests/dataset/test_dataset.py::test_chunking_wkw_advanced[zarr3]": 4.1528338529969915, + "tests/dataset/test_dataset.py::test_chunking_wkw_wrong_chunk_shape[wkw-output_path0]": 1.883607664003648, + "tests/dataset/test_dataset.py::test_chunking_wkw_wrong_chunk_shape[zarr-output_path1]": 1.6183946009987267, + "tests/dataset/test_dataset.py::test_chunking_wkw_wrong_chunk_shape[zarr-output_path2]": 2.2817303640003956, + "tests/dataset/test_dataset.py::test_chunking_wkw_wrong_chunk_shape[zarr3-output_path3]": 3.1627308419956535, + "tests/dataset/test_dataset.py::test_chunking_wkw_wrong_chunk_shape[zarr3-output_path4]": 3.7089355739990424, + "tests/dataset/test_dataset.py::test_compression[wkw-output_path0]": 3.1308679660032794, + "tests/dataset/test_dataset.py::test_compression[zarr-output_path1]": 3.420928693994938, + "tests/dataset/test_dataset.py::test_compression[zarr-output_path2]": 13.383939400995587, + "tests/dataset/test_dataset.py::test_compression[zarr3-output_path3]": 3.630767694001406, + "tests/dataset/test_dataset.py::test_compression[zarr3-output_path4]": 8.418263938001473, + "tests/dataset/test_dataset.py::test_create_dataset_with_explicit_header_fields": 0.1547093639965169, + "tests/dataset/test_dataset.py::test_create_dataset_with_layer_and_mag[wkw-output_path0]": 0.9264903930015862, + "tests/dataset/test_dataset.py::test_create_dataset_with_layer_and_mag[zarr-output_path1]": 0.1492747140036954, + "tests/dataset/test_dataset.py::test_create_dataset_with_layer_and_mag[zarr-output_path2]": 0.43584255099631264, + "tests/dataset/test_dataset.py::test_create_dataset_with_layer_and_mag[zarr3-output_path3]": 0.1961979559964675, + "tests/dataset/test_dataset.py::test_create_dataset_with_layer_and_mag[zarr3-output_path4]": 0.3122581360003096, + "tests/dataset/test_dataset.py::test_create_default_layer": 0.14676155499910237, + "tests/dataset/test_dataset.py::test_create_default_mag[wkw]": 0.15401321100216592, "tests/dataset/test_dataset.py::test_create_default_mag[zarr3]": 0.14358697086572647, - "tests/dataset/test_dataset.py::test_create_default_mag[zarr]": 0.15539660304784775, + "tests/dataset/test_dataset.py::test_create_default_mag[zarr]": 0.1506713340022543, "tests/dataset/test_dataset.py::test_dataset_conversion_from_wkw_to_zarr[output_path0]": 10.44524308400014, "tests/dataset/test_dataset.py::test_dataset_conversion_from_wkw_to_zarr[output_path1]": 11.384790222999982, - "tests/dataset/test_dataset.py::test_dataset_conversion_from_wkw_to_zarr[zarr-output_path0]": 2.1923087015748024, - "tests/dataset/test_dataset.py::test_dataset_conversion_from_wkw_to_zarr[zarr-output_path1]": 3.8489177897572517, - "tests/dataset/test_dataset.py::test_dataset_conversion_from_wkw_to_zarr[zarr3-output_path0]": 2.1695907786488533, - "tests/dataset/test_dataset.py::test_dataset_conversion_from_wkw_to_zarr[zarr3-output_path1]": 3.694804973900318, - "tests/dataset/test_dataset.py::test_dataset_conversion_wkw_only": 3.9625640735030174, - "tests/dataset/test_dataset.py::test_dataset_exist_ok": 0.15464790165424347, - "tests/dataset/test_dataset.py::test_dataset_name": 0.15001612901687622, - "tests/dataset/test_dataset.py::test_dataset_shallow_copy[wkw-False]": 0.16107680648565292, - "tests/dataset/test_dataset.py::test_dataset_shallow_copy[wkw-True]": 0.1757277175784111, - "tests/dataset/test_dataset.py::test_dataset_shallow_copy[zarr-False]": 0.25630493462085724, - "tests/dataset/test_dataset.py::test_dataset_shallow_copy[zarr-True]": 0.2544387876987457, + "tests/dataset/test_dataset.py::test_dataset_conversion_from_wkw_to_zarr[zarr-output_path0]": 1.9484725580041413, + "tests/dataset/test_dataset.py::test_dataset_conversion_from_wkw_to_zarr[zarr-output_path1]": 3.4400462260018685, + "tests/dataset/test_dataset.py::test_dataset_conversion_from_wkw_to_zarr[zarr3-output_path0]": 2.1903469289973145, + "tests/dataset/test_dataset.py::test_dataset_conversion_from_wkw_to_zarr[zarr3-output_path1]": 3.4871065260012983, + "tests/dataset/test_dataset.py::test_dataset_conversion_wkw_only": 3.6806012030028796, + "tests/dataset/test_dataset.py::test_dataset_exist_ok": 0.1573738469996897, + "tests/dataset/test_dataset.py::test_dataset_name": 0.157268055001623, + "tests/dataset/test_dataset.py::test_dataset_shallow_copy[wkw-False]": 0.15873795000152313, + "tests/dataset/test_dataset.py::test_dataset_shallow_copy[wkw-True]": 0.16068037399963941, + "tests/dataset/test_dataset.py::test_dataset_shallow_copy[zarr-False]": 0.2560001890051353, + "tests/dataset/test_dataset.py::test_dataset_shallow_copy[zarr-True]": 0.2422409360005986, "tests/dataset/test_dataset.py::test_dataset_shallow_copy[zarr3-False]": 0.395075298845768, "tests/dataset/test_dataset.py::test_dataset_shallow_copy[zarr3-True]": 0.3931308835744858, - "tests/dataset/test_dataset.py::test_dataset_view_configuration": 0.20132339000701904, - "tests/dataset/test_dataset.py::test_delete_layer_and_mag[wkw-output_path0]": 0.15392987430095673, - "tests/dataset/test_dataset.py::test_delete_layer_and_mag[zarr-output_path1]": 0.16945422440767288, - "tests/dataset/test_dataset.py::test_delete_layer_and_mag[zarr-output_path2]": 0.8845952674746513, - "tests/dataset/test_dataset.py::test_delete_layer_and_mag[zarr3-output_path3]": 0.18595585227012634, - "tests/dataset/test_dataset.py::test_delete_layer_and_mag[zarr3-output_path4]": 0.582589864730835, + "tests/dataset/test_dataset.py::test_dataset_view_configuration": 0.18146428700129036, + "tests/dataset/test_dataset.py::test_delete_layer_and_mag[wkw-output_path0]": 0.17175702299937257, + "tests/dataset/test_dataset.py::test_delete_layer_and_mag[zarr-output_path1]": 0.17674388399973395, + "tests/dataset/test_dataset.py::test_delete_layer_and_mag[zarr-output_path2]": 0.6041665680022561, + "tests/dataset/test_dataset.py::test_delete_layer_and_mag[zarr3-output_path3]": 0.1959422399995674, + "tests/dataset/test_dataset.py::test_delete_layer_and_mag[zarr3-output_path4]": 0.5998954479982785, "tests/dataset/test_dataset.py::test_direct_zarr_access[output_path0]": 0.29579226099986045, "tests/dataset/test_dataset.py::test_direct_zarr_access[output_path1]": 0.9354404480000085, - "tests/dataset/test_dataset.py::test_direct_zarr_access[zarr-output_path0]": 0.15044601261615753, - "tests/dataset/test_dataset.py::test_direct_zarr_access[zarr-output_path1]": 0.4412579759955406, - "tests/dataset/test_dataset.py::test_direct_zarr_access[zarr3-output_path0]": 0.16076219826936722, - "tests/dataset/test_dataset.py::test_direct_zarr_access[zarr3-output_path1]": 0.4512021243572235, - "tests/dataset/test_dataset.py::test_downsampling[wkw-output_path0]": 3.9590444564819336, - "tests/dataset/test_dataset.py::test_downsampling[zarr-output_path1]": 4.07514600455761, - "tests/dataset/test_dataset.py::test_downsampling[zarr-output_path2]": 5.655882351100445, - "tests/dataset/test_dataset.py::test_downsampling[zarr3-output_path3]": 4.221181944012642, - "tests/dataset/test_dataset.py::test_downsampling[zarr3-output_path4]": 5.661259964108467, - "tests/dataset/test_dataset.py::test_empty_read[wkw-output_path0]": 0.1625668853521347, - "tests/dataset/test_dataset.py::test_empty_read[zarr-output_path1]": 0.14732050895690918, - "tests/dataset/test_dataset.py::test_empty_read[zarr-output_path2]": 0.4822496995329857, - "tests/dataset/test_dataset.py::test_empty_read[zarr3-output_path3]": 0.1669628545641899, - "tests/dataset/test_dataset.py::test_empty_read[zarr3-output_path4]": 0.28864622116088867, - "tests/dataset/test_dataset.py::test_for_zipped_chunks[wkw]": 4.644306235015392, + "tests/dataset/test_dataset.py::test_direct_zarr_access[zarr-output_path0]": 0.18554609499915387, + "tests/dataset/test_dataset.py::test_direct_zarr_access[zarr-output_path1]": 0.38918309900327586, + "tests/dataset/test_dataset.py::test_direct_zarr_access[zarr3-output_path0]": 0.17456875500283786, + "tests/dataset/test_dataset.py::test_direct_zarr_access[zarr3-output_path1]": 0.3798022699993453, + "tests/dataset/test_dataset.py::test_downsampling[wkw-output_path0]": 4.92239956299818, + "tests/dataset/test_dataset.py::test_downsampling[zarr-output_path1]": 5.398260861999006, + "tests/dataset/test_dataset.py::test_downsampling[zarr-output_path2]": 6.31566823099638, + "tests/dataset/test_dataset.py::test_downsampling[zarr3-output_path3]": 6.36938749500041, + "tests/dataset/test_dataset.py::test_downsampling[zarr3-output_path4]": 5.649157184001524, + "tests/dataset/test_dataset.py::test_empty_read[wkw-output_path0]": 0.1522447219940659, + "tests/dataset/test_dataset.py::test_empty_read[zarr-output_path1]": 0.165053534998151, + "tests/dataset/test_dataset.py::test_empty_read[zarr-output_path2]": 0.2601166339991323, + "tests/dataset/test_dataset.py::test_empty_read[zarr3-output_path3]": 0.16360094800256775, + "tests/dataset/test_dataset.py::test_empty_read[zarr3-output_path4]": 0.23760725400279625, + "tests/dataset/test_dataset.py::test_for_zipped_chunks[wkw]": 4.172890265996102, "tests/dataset/test_dataset.py::test_for_zipped_chunks[zarr3]": 27.865983672440052, - "tests/dataset/test_dataset.py::test_for_zipped_chunks[zarr]": 18.877598449587822, - "tests/dataset/test_dataset.py::test_for_zipped_chunks_invalid_target_chunk_shape_wk[wkw-output_path0]": 1.1376827955245972, - "tests/dataset/test_dataset.py::test_for_zipped_chunks_invalid_target_chunk_shape_wk[zarr-output_path1]": 1.0472029075026512, - "tests/dataset/test_dataset.py::test_for_zipped_chunks_invalid_target_chunk_shape_wk[zarr-output_path2]": 1.967793546617031, - "tests/dataset/test_dataset.py::test_for_zipped_chunks_invalid_target_chunk_shape_wk[zarr3-output_path3]": 1.2897141948342323, - "tests/dataset/test_dataset.py::test_for_zipped_chunks_invalid_target_chunk_shape_wk[zarr3-output_path4]": 1.6061203181743622, - "tests/dataset/test_dataset.py::test_get_largest_segment_id": 0.15707804262638092, - "tests/dataset/test_dataset.py::test_get_or_add_layer[wkw-output_path0]": 0.14051736891269684, - "tests/dataset/test_dataset.py::test_get_or_add_layer[zarr-output_path1]": 0.1460741087794304, - "tests/dataset/test_dataset.py::test_get_or_add_layer[zarr-output_path2]": 0.33145374059677124, - "tests/dataset/test_dataset.py::test_get_or_add_layer[zarr3-output_path3]": 0.1408548802137375, - "tests/dataset/test_dataset.py::test_get_or_add_layer[zarr3-output_path4]": 0.29017452150583267, - "tests/dataset/test_dataset.py::test_get_or_add_layer_by_type": 0.16569333523511887, - "tests/dataset/test_dataset.py::test_get_or_add_layer_idempotence[wkw-output_path0]": 0.14266341924667358, - "tests/dataset/test_dataset.py::test_get_or_add_layer_idempotence[zarr-output_path1]": 0.16061033308506012, - "tests/dataset/test_dataset.py::test_get_or_add_layer_idempotence[zarr-output_path2]": 0.4902197867631912, - "tests/dataset/test_dataset.py::test_get_or_add_layer_idempotence[zarr3-output_path3]": 0.16979417204856873, - "tests/dataset/test_dataset.py::test_get_or_add_layer_idempotence[zarr3-output_path4]": 0.33680880069732666, - "tests/dataset/test_dataset.py::test_get_or_add_mag[wkw-output_path0]": 0.1437849998474121, - "tests/dataset/test_dataset.py::test_get_or_add_mag[zarr-output_path1]": 0.1546635404229164, - "tests/dataset/test_dataset.py::test_get_or_add_mag[zarr-output_path2]": 0.6552678123116493, - "tests/dataset/test_dataset.py::test_get_or_add_mag[zarr3-output_path3]": 0.17364255338907242, - "tests/dataset/test_dataset.py::test_get_or_add_mag[zarr3-output_path4]": 0.48339666426181793, - "tests/dataset/test_dataset.py::test_get_view": 0.2409212365746498, - "tests/dataset/test_dataset.py::test_guided_downsampling[wkw-output_path0]": 8.594671189785004, - "tests/dataset/test_dataset.py::test_guided_downsampling[zarr-output_path1]": 6.106144152581692, - "tests/dataset/test_dataset.py::test_guided_downsampling[zarr-output_path2]": 9.159978941082954, - "tests/dataset/test_dataset.py::test_guided_downsampling[zarr3-output_path3]": 98.42657884955406, - "tests/dataset/test_dataset.py::test_guided_downsampling[zarr3-output_path4]": 92.14474654942751, + "tests/dataset/test_dataset.py::test_for_zipped_chunks[zarr]": 11.383792314998573, + "tests/dataset/test_dataset.py::test_for_zipped_chunks_invalid_target_chunk_shape_wk[wkw-output_path0]": 1.1477266129986674, + "tests/dataset/test_dataset.py::test_for_zipped_chunks_invalid_target_chunk_shape_wk[zarr-output_path1]": 1.162728141000116, + "tests/dataset/test_dataset.py::test_for_zipped_chunks_invalid_target_chunk_shape_wk[zarr-output_path2]": 1.4703399509962765, + "tests/dataset/test_dataset.py::test_for_zipped_chunks_invalid_target_chunk_shape_wk[zarr3-output_path3]": 1.227476646003197, + "tests/dataset/test_dataset.py::test_for_zipped_chunks_invalid_target_chunk_shape_wk[zarr3-output_path4]": 1.464658506003616, + "tests/dataset/test_dataset.py::test_get_largest_segment_id": 0.16263085500031593, + "tests/dataset/test_dataset.py::test_get_or_add_layer[wkw-output_path0]": 0.15626824899663916, + "tests/dataset/test_dataset.py::test_get_or_add_layer[zarr-output_path1]": 0.15735040399886202, + "tests/dataset/test_dataset.py::test_get_or_add_layer[zarr-output_path2]": 0.31330336200335296, + "tests/dataset/test_dataset.py::test_get_or_add_layer[zarr3-output_path3]": 0.1534312219991989, + "tests/dataset/test_dataset.py::test_get_or_add_layer[zarr3-output_path4]": 0.27841364100095234, + "tests/dataset/test_dataset.py::test_get_or_add_layer_by_type": 0.18911291899712523, + "tests/dataset/test_dataset.py::test_get_or_add_layer_idempotence[wkw-output_path0]": 0.15374207900094916, + "tests/dataset/test_dataset.py::test_get_or_add_layer_idempotence[zarr-output_path1]": 0.16461011799765402, + "tests/dataset/test_dataset.py::test_get_or_add_layer_idempotence[zarr-output_path2]": 0.34169497300172225, + "tests/dataset/test_dataset.py::test_get_or_add_layer_idempotence[zarr3-output_path3]": 0.19452408899451257, + "tests/dataset/test_dataset.py::test_get_or_add_layer_idempotence[zarr3-output_path4]": 0.3506210559971805, + "tests/dataset/test_dataset.py::test_get_or_add_mag[wkw-output_path0]": 0.152078259998234, + "tests/dataset/test_dataset.py::test_get_or_add_mag[zarr-output_path1]": 0.16154153699608287, + "tests/dataset/test_dataset.py::test_get_or_add_mag[zarr-output_path2]": 0.36154939299740363, + "tests/dataset/test_dataset.py::test_get_or_add_mag[zarr3-output_path3]": 0.19105237099938677, + "tests/dataset/test_dataset.py::test_get_or_add_mag[zarr3-output_path4]": 0.37056933700296213, + "tests/dataset/test_dataset.py::test_get_view": 0.22317313199891942, + "tests/dataset/test_dataset.py::test_guided_downsampling[wkw-output_path0]": 7.9314270010036125, + "tests/dataset/test_dataset.py::test_guided_downsampling[zarr-output_path1]": 5.734768656002416, + "tests/dataset/test_dataset.py::test_guided_downsampling[zarr-output_path2]": 7.6948630529986985, + "tests/dataset/test_dataset.py::test_guided_downsampling[zarr3-output_path3]": 6.616683133997867, + "tests/dataset/test_dataset.py::test_guided_downsampling[zarr3-output_path4]": 8.33269183000084, "tests/dataset/test_dataset.py::test_largest_segment_id_requirement": 0.14713998138904572, - "tests/dataset/test_dataset.py::test_layer_view_configuration": 0.15775839984416962, - "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds[wkw-output_path0]": 0.14207889884710312, - "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds[zarr-output_path1]": 0.16596230119466782, - "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds[zarr-output_path2]": 0.40568944811820984, - "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds[zarr3-output_path3]": 0.18816079199314117, - "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds[zarr3-output_path4]": 0.44895292073488235, - "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds_mag2[wkw-output_path0]": 0.1476842761039734, - "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds_mag2[zarr-output_path1]": 0.18664009869098663, - "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds_mag2[zarr-output_path2]": 0.6886726394295692, - "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds_mag2[zarr3-output_path3]": 0.6779456734657288, - "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds_mag2[zarr3-output_path4]": 1.098543681204319, - "tests/dataset/test_dataset.py::test_modify_existing_dataset[wkw-output_path0]": 0.14974681288003922, - "tests/dataset/test_dataset.py::test_modify_existing_dataset[zarr-output_path1]": 0.15451443940401077, - "tests/dataset/test_dataset.py::test_modify_existing_dataset[zarr-output_path2]": 0.6781771332025528, - "tests/dataset/test_dataset.py::test_modify_existing_dataset[zarr3-output_path3]": 0.16664448380470276, - "tests/dataset/test_dataset.py::test_modify_existing_dataset[zarr3-output_path4]": 0.42214029282331467, - "tests/dataset/test_dataset.py::test_num_channel_mismatch_assertion[wkw-output_path0]": 0.14485667645931244, - "tests/dataset/test_dataset.py::test_num_channel_mismatch_assertion[zarr-output_path1]": 0.16595692187547684, - "tests/dataset/test_dataset.py::test_num_channel_mismatch_assertion[zarr-output_path2]": 0.6074165478348732, - "tests/dataset/test_dataset.py::test_num_channel_mismatch_assertion[zarr3-output_path3]": 0.17509809881448746, - "tests/dataset/test_dataset.py::test_num_channel_mismatch_assertion[zarr3-output_path4]": 0.4746354669332504, - "tests/dataset/test_dataset.py::test_ome_ngff_metadata[output_path0]": 1.0279669910669327, - "tests/dataset/test_dataset.py::test_ome_ngff_metadata[output_path1]": 0.7121255025267601, - "tests/dataset/test_dataset.py::test_open_dataset[wkw-output_path0]": 0.14942340552806854, - "tests/dataset/test_dataset.py::test_open_dataset[zarr-output_path1]": 0.154495470225811, - "tests/dataset/test_dataset.py::test_open_dataset[zarr-output_path2]": 0.3114955797791481, - "tests/dataset/test_dataset.py::test_open_dataset[zarr3-output_path3]": 0.15316380560398102, - "tests/dataset/test_dataset.py::test_open_dataset[zarr3-output_path4]": 0.326156847178936, - "tests/dataset/test_dataset.py::test_open_dataset_without_num_channels_in_properties": 0.1417320892214775, - "tests/dataset/test_dataset.py::test_outdated_dtype_parameter": 0.14224393665790558, - "tests/dataset/test_dataset.py::test_pickle_view": 0.15942459553480148, - "tests/dataset/test_dataset.py::test_properties_with_segmentation": 0.14482023566961288, - "tests/dataset/test_dataset.py::test_read_bbox": 0.16029104590415955, - "tests/dataset/test_dataset.py::test_read_only_view[wkw-output_path0]": 0.2099728211760521, - "tests/dataset/test_dataset.py::test_read_only_view[zarr-output_path1]": 0.18424854427576065, - "tests/dataset/test_dataset.py::test_read_only_view[zarr-output_path2]": 0.6963035315275192, - "tests/dataset/test_dataset.py::test_read_only_view[zarr3-output_path3]": 1.2230623811483383, - "tests/dataset/test_dataset.py::test_read_only_view[zarr3-output_path4]": 1.5599702969193459, - "tests/dataset/test_dataset.py::test_read_padded_data[wkw-output_path0]": 0.16009067744016647, - "tests/dataset/test_dataset.py::test_read_padded_data[zarr-output_path1]": 0.15611442178487778, - "tests/dataset/test_dataset.py::test_read_padded_data[zarr-output_path2]": 0.46271882206201553, - "tests/dataset/test_dataset.py::test_read_padded_data[zarr3-output_path3]": 0.16386930644512177, - "tests/dataset/test_dataset.py::test_read_padded_data[zarr3-output_path4]": 0.32476259768009186, + "tests/dataset/test_dataset.py::test_layer_view_configuration": 0.16229392599780113, + "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds[wkw-output_path0]": 0.1535582170035923, + "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds[zarr-output_path1]": 0.19016316100169206, + "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds[zarr-output_path2]": 0.3441366939987347, + "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds[zarr3-output_path3]": 0.20280673899833346, + "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds[zarr3-output_path4]": 0.34944646599615226, + "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds_mag2[wkw-output_path0]": 0.16561736400035443, + "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds_mag2[zarr-output_path1]": 0.19691031200272846, + "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds_mag2[zarr-output_path2]": 0.5322945560001244, + "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds_mag2[zarr3-output_path3]": 0.6518619099988427, + "tests/dataset/test_dataset.py::test_mag_view_write_out_of_bounds_mag2[zarr3-output_path4]": 0.9659357919990725, + "tests/dataset/test_dataset.py::test_modify_existing_dataset[wkw-output_path0]": 0.14439204200243694, + "tests/dataset/test_dataset.py::test_modify_existing_dataset[zarr-output_path1]": 0.15753716499966686, + "tests/dataset/test_dataset.py::test_modify_existing_dataset[zarr-output_path2]": 0.46865152700047474, + "tests/dataset/test_dataset.py::test_modify_existing_dataset[zarr3-output_path3]": 0.16932619499857537, + "tests/dataset/test_dataset.py::test_modify_existing_dataset[zarr3-output_path4]": 0.4573554130001867, + "tests/dataset/test_dataset.py::test_no_largest_segment_id": 0.15720406399850617, + "tests/dataset/test_dataset.py::test_num_channel_mismatch_assertion[wkw-output_path0]": 0.15516756699798862, + "tests/dataset/test_dataset.py::test_num_channel_mismatch_assertion[zarr-output_path1]": 0.16525457299940172, + "tests/dataset/test_dataset.py::test_num_channel_mismatch_assertion[zarr-output_path2]": 0.4109362879971741, + "tests/dataset/test_dataset.py::test_num_channel_mismatch_assertion[zarr3-output_path3]": 0.1905543199973181, + "tests/dataset/test_dataset.py::test_num_channel_mismatch_assertion[zarr3-output_path4]": 0.44661707499835757, + "tests/dataset/test_dataset.py::test_ome_ngff_metadata[output_path0]": 1.1090438669998548, + "tests/dataset/test_dataset.py::test_ome_ngff_metadata[output_path1]": 0.48630871300338185, + "tests/dataset/test_dataset.py::test_open_dataset[wkw-output_path0]": 0.14486421599576715, + "tests/dataset/test_dataset.py::test_open_dataset[zarr-output_path1]": 0.14738153500002227, + "tests/dataset/test_dataset.py::test_open_dataset[zarr-output_path2]": 0.24335575299846823, + "tests/dataset/test_dataset.py::test_open_dataset[zarr3-output_path3]": 0.1557101069993223, + "tests/dataset/test_dataset.py::test_open_dataset[zarr3-output_path4]": 0.22828388500056462, + "tests/dataset/test_dataset.py::test_open_dataset_without_num_channels_in_properties": 0.16314885999963735, + "tests/dataset/test_dataset.py::test_outdated_dtype_parameter": 0.1523219179980515, + "tests/dataset/test_dataset.py::test_pickle_view": 0.16729781200047, + "tests/dataset/test_dataset.py::test_properties_with_segmentation": 0.1511287329994957, + "tests/dataset/test_dataset.py::test_read_bbox": 0.16964554299920565, + "tests/dataset/test_dataset.py::test_read_only_view[wkw-output_path0]": 0.18895269900167477, + "tests/dataset/test_dataset.py::test_read_only_view[zarr-output_path1]": 0.1812009390014282, + "tests/dataset/test_dataset.py::test_read_only_view[zarr-output_path2]": 0.35591348099842435, + "tests/dataset/test_dataset.py::test_read_only_view[zarr3-output_path3]": 0.9753456719990936, + "tests/dataset/test_dataset.py::test_read_only_view[zarr3-output_path4]": 1.169091206000303, + "tests/dataset/test_dataset.py::test_read_padded_data[wkw-output_path0]": 0.15586517900010222, + "tests/dataset/test_dataset.py::test_read_padded_data[zarr-output_path1]": 0.15890996099915355, + "tests/dataset/test_dataset.py::test_read_padded_data[zarr-output_path2]": 0.34383247600271716, + "tests/dataset/test_dataset.py::test_read_padded_data[zarr3-output_path3]": 0.16380000500066672, + "tests/dataset/test_dataset.py::test_read_padded_data[zarr3-output_path4]": 0.32127071600189083, + "tests/dataset/test_dataset.py::test_refresh_largest_segment_id": 2.123249508000299, "tests/dataset/test_dataset.py::test_remote_add_symlink_layer": 6.875127539000459, - "tests/dataset/test_dataset.py::test_remote_add_symlink_layer[zarr3]": 0.507494680583477, - "tests/dataset/test_dataset.py::test_remote_add_symlink_layer[zarr]": 0.5908051580190659, + "tests/dataset/test_dataset.py::test_remote_add_symlink_layer[zarr3]": 0.37838975499835215, + "tests/dataset/test_dataset.py::test_remote_add_symlink_layer[zarr]": 0.34261638799944194, "tests/dataset/test_dataset.py::test_remote_add_symlink_mag": 7.256185128000197, - "tests/dataset/test_dataset.py::test_remote_add_symlink_mag[zarr3]": 0.5238721147179604, - "tests/dataset/test_dataset.py::test_remote_add_symlink_mag[zarr]": 0.5912119671702385, - "tests/dataset/test_dataset.py::test_remote_wkw_dataset": 0.19055157154798508, - "tests/dataset/test_dataset.py::test_rename_layer[wkw-output_path0]": 0.16187039017677307, - "tests/dataset/test_dataset.py::test_rename_layer[zarr-output_path1]": 0.18579932302236557, - "tests/dataset/test_dataset.py::test_rename_layer[zarr-output_path2]": 0.6366782560944557, - "tests/dataset/test_dataset.py::test_rename_layer[zarr3-output_path3]": 0.7242305129766464, - "tests/dataset/test_dataset.py::test_rename_layer[zarr3-output_path4]": 1.1047381535172462, - "tests/dataset/test_dataset.py::test_search_dataset_also_for_long_layer_name[wkw-output_path0]": 1.0203998237848282, - "tests/dataset/test_dataset.py::test_search_dataset_also_for_long_layer_name[zarr-output_path1]": 0.16961856186389923, - "tests/dataset/test_dataset.py::test_search_dataset_also_for_long_layer_name[zarr-output_path2]": 0.6662394553422928, - "tests/dataset/test_dataset.py::test_search_dataset_also_for_long_layer_name[zarr3-output_path3]": 0.6921415403485298, - "tests/dataset/test_dataset.py::test_search_dataset_also_for_long_layer_name[zarr3-output_path4]": 1.1783331409096718, - "tests/dataset/test_dataset.py::test_typing_of_get_mag": 0.1774476319551468, - "tests/dataset/test_dataset.py::test_update_new_bounding_box_offset[wkw-output_path0]": 0.19932476431131363, - "tests/dataset/test_dataset.py::test_update_new_bounding_box_offset[zarr-output_path1]": 0.16201572865247726, - "tests/dataset/test_dataset.py::test_update_new_bounding_box_offset[zarr-output_path2]": 1.6816974356770515, - "tests/dataset/test_dataset.py::test_update_new_bounding_box_offset[zarr3-output_path3]": 1.1629276871681213, - "tests/dataset/test_dataset.py::test_update_new_bounding_box_offset[zarr3-output_path4]": 1.6684207022190094, - "tests/dataset/test_dataset.py::test_view_read[wkw-output_path0]": 0.1418600082397461, - "tests/dataset/test_dataset.py::test_view_read[zarr-output_path1]": 0.1534842550754547, - "tests/dataset/test_dataset.py::test_view_read[zarr-output_path2]": 0.49558574706315994, - "tests/dataset/test_dataset.py::test_view_read[zarr3-output_path3]": 0.15351424366235733, - "tests/dataset/test_dataset.py::test_view_read[zarr3-output_path4]": 0.5077526122331619, - "tests/dataset/test_dataset.py::test_view_write[wkw-output_path0]": 0.14326763153076172, - "tests/dataset/test_dataset.py::test_view_write[zarr-output_path1]": 0.15773090720176697, - "tests/dataset/test_dataset.py::test_view_write[zarr-output_path2]": 0.4057612642645836, - "tests/dataset/test_dataset.py::test_view_write[zarr3-output_path3]": 0.15741721540689468, - "tests/dataset/test_dataset.py::test_view_write[zarr3-output_path4]": 0.4293300285935402, - "tests/dataset/test_dataset.py::test_view_write_out_of_bounds[wkw-output_path0]": 0.1410479098558426, - "tests/dataset/test_dataset.py::test_view_write_out_of_bounds[zarr-output_path1]": 0.15435351431369781, - "tests/dataset/test_dataset.py::test_view_write_out_of_bounds[zarr-output_path2]": 0.3515475317835808, - "tests/dataset/test_dataset.py::test_view_write_out_of_bounds[zarr3-output_path3]": 0.15416345745325089, - "tests/dataset/test_dataset.py::test_view_write_out_of_bounds[zarr3-output_path4]": 0.2828810289502144, - "tests/dataset/test_dataset.py::test_views_are_equal[wkw-output_path0]": 4.127303034067154, - "tests/dataset/test_dataset.py::test_views_are_equal[zarr-output_path1]": 4.067034848034382, - "tests/dataset/test_dataset.py::test_views_are_equal[zarr-output_path2]": 5.9314417243003845, - "tests/dataset/test_dataset.py::test_views_are_equal[zarr3-output_path3]": 5.5142670050263405, - "tests/dataset/test_dataset.py::test_views_are_equal[zarr3-output_path4]": 7.2102260440588, - "tests/dataset/test_dataset.py::test_warn_outdated_properties[wkw-output_path0]": 0.16087324917316437, - "tests/dataset/test_dataset.py::test_warn_outdated_properties[zarr-output_path1]": 0.1747770458459854, - "tests/dataset/test_dataset.py::test_warn_outdated_properties[zarr-output_path2]": 0.8194718509912491, - "tests/dataset/test_dataset.py::test_warn_outdated_properties[zarr3-output_path3]": 0.1855056807398796, - "tests/dataset/test_dataset.py::test_warn_outdated_properties[zarr3-output_path4]": 0.4970230758190155, - "tests/dataset/test_dataset.py::test_wkw_copy_to_remote_dataset": 1.3058405667543411, - "tests/dataset/test_dataset.py::test_wkw_write_multi_channel_uint16[wkw-output_path0]": 0.43318069726228714, - "tests/dataset/test_dataset.py::test_wkw_write_multi_channel_uint16[zarr-output_path1]": 0.43789268285036087, - "tests/dataset/test_dataset.py::test_wkw_write_multi_channel_uint16[zarr-output_path2]": 2.6798069402575493, - "tests/dataset/test_dataset.py::test_wkw_write_multi_channel_uint16[zarr3-output_path3]": 1.2908635511994362, - "tests/dataset/test_dataset.py::test_wkw_write_multi_channel_uint16[zarr3-output_path4]": 3.150634817779064, - "tests/dataset/test_dataset.py::test_write_multi_channel_uint8[wkw-output_path0]": 0.4003850072622299, - "tests/dataset/test_dataset.py::test_write_multi_channel_uint8[zarr-output_path1]": 0.4316236972808838, - "tests/dataset/test_dataset.py::test_write_multi_channel_uint8[zarr-output_path2]": 1.2727110981941223, - "tests/dataset/test_dataset.py::test_write_multi_channel_uint8[zarr3-output_path3]": 0.9315813481807709, - "tests/dataset/test_dataset.py::test_write_multi_channel_uint8[zarr3-output_path4]": 2.22798952460289, - "tests/dataset/test_dataset.py::test_writing_subset_of_chunked_compressed_data[wkw-output_path0]": 0.4519599676132202, - "tests/dataset/test_dataset.py::test_writing_subset_of_chunked_compressed_data[zarr-output_path1]": 0.7441101670265198, - "tests/dataset/test_dataset.py::test_writing_subset_of_chunked_compressed_data[zarr-output_path2]": 2.1146002411842346, - "tests/dataset/test_dataset.py::test_writing_subset_of_chunked_compressed_data[zarr3-output_path3]": 6.090640403330326, - "tests/dataset/test_dataset.py::test_writing_subset_of_chunked_compressed_data[zarr3-output_path4]": 8.487194739282131, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data[wkw-output_path0]": 0.3374418243765831, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data[zarr-output_path1]": 0.46871577948331833, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data[zarr-output_path2]": 1.114941380918026, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data[zarr3-output_path3]": 3.5136422514915466, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data[zarr3-output_path4]": 4.183356113731861, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_multi_channel[wkw-output_path0]": 0.31644346565008163, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_multi_channel[zarr-output_path1]": 0.3459647223353386, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_multi_channel[zarr-output_path2]": 0.9884872436523438, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_multi_channel[zarr3-output_path3]": 1.9940904155373573, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_multi_channel[zarr3-output_path4]": 5.729320093989372, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_single_channel[wkw-output_path0]": 0.25776253640651703, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_single_channel[zarr-output_path1]": 0.24245426803827286, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_single_channel[zarr-output_path2]": 1.3999088779091835, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_single_channel[zarr3-output_path3]": 1.8721420913934708, - "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_single_channel[zarr3-output_path4]": 3.8960692286491394, + "tests/dataset/test_dataset.py::test_remote_add_symlink_mag[zarr3]": 0.4234270530032518, + "tests/dataset/test_dataset.py::test_remote_add_symlink_mag[zarr]": 0.37390027200308396, + "tests/dataset/test_dataset.py::test_remote_wkw_dataset": 0.19218530500074849, + "tests/dataset/test_dataset.py::test_rename_layer[wkw-output_path0]": 0.16689042200232507, + "tests/dataset/test_dataset.py::test_rename_layer[zarr-output_path1]": 0.18189210499622277, + "tests/dataset/test_dataset.py::test_rename_layer[zarr-output_path2]": 0.42348231200230657, + "tests/dataset/test_dataset.py::test_rename_layer[zarr3-output_path3]": 0.6141008749982575, + "tests/dataset/test_dataset.py::test_rename_layer[zarr3-output_path4]": 2.3992268049987615, + "tests/dataset/test_dataset.py::test_search_dataset_also_for_long_layer_name[wkw-output_path0]": 1.0610120269993786, + "tests/dataset/test_dataset.py::test_search_dataset_also_for_long_layer_name[zarr-output_path1]": 0.18351406199872144, + "tests/dataset/test_dataset.py::test_search_dataset_also_for_long_layer_name[zarr-output_path2]": 0.48710786100127734, + "tests/dataset/test_dataset.py::test_search_dataset_also_for_long_layer_name[zarr3-output_path3]": 0.6268441890060785, + "tests/dataset/test_dataset.py::test_search_dataset_also_for_long_layer_name[zarr3-output_path4]": 1.009722293001687, + "tests/dataset/test_dataset.py::test_typing_of_get_mag": 0.17508329299744219, + "tests/dataset/test_dataset.py::test_update_new_bounding_box_offset[wkw-output_path0]": 0.1812803510001686, + "tests/dataset/test_dataset.py::test_update_new_bounding_box_offset[zarr-output_path1]": 0.17286886400324875, + "tests/dataset/test_dataset.py::test_update_new_bounding_box_offset[zarr-output_path2]": 0.4920013039991318, + "tests/dataset/test_dataset.py::test_update_new_bounding_box_offset[zarr3-output_path3]": 1.0118205870021484, + "tests/dataset/test_dataset.py::test_update_new_bounding_box_offset[zarr3-output_path4]": 1.339538280000852, + "tests/dataset/test_dataset.py::test_view_read[wkw-output_path0]": 0.14963598699614522, + "tests/dataset/test_dataset.py::test_view_read[zarr-output_path1]": 0.15488811599789187, + "tests/dataset/test_dataset.py::test_view_read[zarr-output_path2]": 0.3400897929968778, + "tests/dataset/test_dataset.py::test_view_read[zarr3-output_path3]": 0.19987934399978258, + "tests/dataset/test_dataset.py::test_view_read[zarr3-output_path4]": 0.40930059499805793, + "tests/dataset/test_dataset.py::test_view_write[wkw-output_path0]": 0.15193852899756166, + "tests/dataset/test_dataset.py::test_view_write[zarr-output_path1]": 0.1574760450021131, + "tests/dataset/test_dataset.py::test_view_write[zarr-output_path2]": 0.3753829719935311, + "tests/dataset/test_dataset.py::test_view_write[zarr3-output_path3]": 0.19826962399747572, + "tests/dataset/test_dataset.py::test_view_write[zarr3-output_path4]": 0.4663884209985554, + "tests/dataset/test_dataset.py::test_view_write_out_of_bounds[wkw-output_path0]": 0.15899073800392216, + "tests/dataset/test_dataset.py::test_view_write_out_of_bounds[zarr-output_path1]": 0.1630282959995384, + "tests/dataset/test_dataset.py::test_view_write_out_of_bounds[zarr-output_path2]": 0.2534973500005435, + "tests/dataset/test_dataset.py::test_view_write_out_of_bounds[zarr3-output_path3]": 0.17130226700101048, + "tests/dataset/test_dataset.py::test_view_write_out_of_bounds[zarr3-output_path4]": 0.2364490929976455, + "tests/dataset/test_dataset.py::test_views_are_equal[wkw-output_path0]": 3.49439175599764, + "tests/dataset/test_dataset.py::test_views_are_equal[zarr-output_path1]": 3.960515053000563, + "tests/dataset/test_dataset.py::test_views_are_equal[zarr-output_path2]": 5.109976023999479, + "tests/dataset/test_dataset.py::test_views_are_equal[zarr3-output_path3]": 5.5412055980013974, + "tests/dataset/test_dataset.py::test_views_are_equal[zarr3-output_path4]": 6.250588425002206, + "tests/dataset/test_dataset.py::test_warn_outdated_properties[wkw-output_path0]": 0.16092862200093805, + "tests/dataset/test_dataset.py::test_warn_outdated_properties[zarr-output_path1]": 0.17021553499944275, + "tests/dataset/test_dataset.py::test_warn_outdated_properties[zarr-output_path2]": 0.602725097000075, + "tests/dataset/test_dataset.py::test_warn_outdated_properties[zarr3-output_path3]": 0.1946813859976828, + "tests/dataset/test_dataset.py::test_warn_outdated_properties[zarr3-output_path4]": 0.5527697390025423, + "tests/dataset/test_dataset.py::test_wkw_copy_to_remote_dataset": 0.5496937409989187, + "tests/dataset/test_dataset.py::test_wkw_write_multi_channel_uint16[wkw-output_path0]": 0.41279298700465006, + "tests/dataset/test_dataset.py::test_wkw_write_multi_channel_uint16[zarr-output_path1]": 0.41302716200152645, + "tests/dataset/test_dataset.py::test_wkw_write_multi_channel_uint16[zarr-output_path2]": 1.5028414740045264, + "tests/dataset/test_dataset.py::test_wkw_write_multi_channel_uint16[zarr3-output_path3]": 0.829864773000736, + "tests/dataset/test_dataset.py::test_wkw_write_multi_channel_uint16[zarr3-output_path4]": 1.3331574570038356, + "tests/dataset/test_dataset.py::test_write_multi_channel_uint8[wkw-output_path0]": 0.42894437599898083, + "tests/dataset/test_dataset.py::test_write_multi_channel_uint8[zarr-output_path1]": 0.42322699099531746, + "tests/dataset/test_dataset.py::test_write_multi_channel_uint8[zarr-output_path2]": 0.8437352989967621, + "tests/dataset/test_dataset.py::test_write_multi_channel_uint8[zarr3-output_path3]": 0.857744298002217, + "tests/dataset/test_dataset.py::test_write_multi_channel_uint8[zarr3-output_path4]": 1.2346468280011322, + "tests/dataset/test_dataset.py::test_writing_subset_of_chunked_compressed_data[wkw-output_path0]": 0.45749959900058457, + "tests/dataset/test_dataset.py::test_writing_subset_of_chunked_compressed_data[zarr-output_path1]": 0.42819686499933596, + "tests/dataset/test_dataset.py::test_writing_subset_of_chunked_compressed_data[zarr-output_path2]": 1.2225947010047093, + "tests/dataset/test_dataset.py::test_writing_subset_of_chunked_compressed_data[zarr3-output_path3]": 3.5436299279972445, + "tests/dataset/test_dataset.py::test_writing_subset_of_chunked_compressed_data[zarr3-output_path4]": 4.85823910900217, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data[wkw-output_path0]": 0.3182088700013992, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data[zarr-output_path1]": 0.3267195720000018, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data[zarr-output_path2]": 0.8869950029984466, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data[zarr3-output_path3]": 1.9668232090007223, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data[zarr3-output_path4]": 2.908904984004039, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_multi_channel[wkw-output_path0]": 0.322798272001819, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_multi_channel[zarr-output_path1]": 0.43212527799914824, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_multi_channel[zarr-output_path2]": 1.6952679950009042, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_multi_channel[zarr3-output_path3]": 1.2159450839972124, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_multi_channel[zarr3-output_path4]": 2.346233372001734, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_single_channel[wkw-output_path0]": 0.23867510800118907, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_single_channel[zarr-output_path1]": 0.25125347100401996, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_single_channel[zarr-output_path2]": 0.7267399340016709, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_single_channel[zarr3-output_path3]": 1.2320703709992813, + "tests/dataset/test_dataset.py::test_writing_subset_of_compressed_data_single_channel[zarr3-output_path4]": 2.3546168860048056, "tests/dataset/test_dataset.py::test_zarr_copy_to_remote_dataset": 11.52303247000009, - "tests/dataset/test_dataset.py::test_zarr_copy_to_remote_dataset[zarr3]": 2.9038019701838493, - "tests/dataset/test_dataset.py::test_zarr_copy_to_remote_dataset[zarr]": 3.312014900147915, - "tests/dataset/test_dataset_deprecated.py::test_add_copy_layer": 0.18449187278747559, - "tests/dataset/test_dataset_deprecated.py::test_add_fs_copy_mag": 0.8854384869337082, - "tests/dataset/test_dataset_deprecated.py::test_add_layer_like": 0.16639983654022217, - "tests/dataset/test_dataset_deprecated.py::test_add_symlink_layer": 0.19756411761045456, - "tests/dataset/test_dataset_deprecated.py::test_add_symlink_mag": 0.17402198165655136, - "tests/dataset/test_dataset_deprecated.py::test_adding_layer_with_invalid_dtype_per_layer": 0.15465571731328964, - "tests/dataset/test_dataset_deprecated.py::test_adding_layer_with_valid_dtype_per_layer": 0.17432361096143723, - "tests/dataset/test_dataset_deprecated.py::test_bounding_box_on_disk": 0.17491868883371353, - "tests/dataset/test_dataset_deprecated.py::test_changing_layer_bounding_box": 0.16555258631706238, - "tests/dataset/test_dataset_deprecated.py::test_chunking_wk": 3.2446905747056007, - "tests/dataset/test_dataset_deprecated.py::test_chunking_wk_advanced": 4.019779525697231, - "tests/dataset/test_dataset_deprecated.py::test_chunking_wk_wrong_chunk_size": 1.9780937731266022, - "tests/dataset/test_dataset_deprecated.py::test_compression": 3.3858338370919228, - "tests/dataset/test_dataset_deprecated.py::test_create_dataset_with_explicit_header_fields": 0.16809046268463135, - "tests/dataset/test_dataset_deprecated.py::test_create_dataset_with_layer_and_mag": 0.158978670835495, - "tests/dataset/test_dataset_deprecated.py::test_dataset_conversion": 4.1659408286213875, - "tests/dataset/test_dataset_deprecated.py::test_dataset_exist_ok": 0.17834138125181198, - "tests/dataset/test_dataset_deprecated.py::test_dataset_name": 0.15958061069250107, - "tests/dataset/test_dataset_deprecated.py::test_dataset_shallow_copy[False]": 0.16815657913684845, - "tests/dataset/test_dataset_deprecated.py::test_dataset_shallow_copy[True]": 0.17259281873703003, - "tests/dataset/test_dataset_deprecated.py::test_dataset_view_configuration": 0.19631051272153854, - "tests/dataset/test_dataset_deprecated.py::test_delete_layer_and_mag": 0.1683654561638832, - "tests/dataset/test_dataset_deprecated.py::test_empty_read": 0.16109920293092728, - "tests/dataset/test_dataset_deprecated.py::test_for_zipped_chunks": 4.678803868591785, - "tests/dataset/test_dataset_deprecated.py::test_for_zipped_chunks_invalid_target_chunk_size_wk": 1.2049925699830055, - "tests/dataset/test_dataset_deprecated.py::test_get_largest_segment_id": 0.16338089108467102, - "tests/dataset/test_dataset_deprecated.py::test_get_or_add_layer": 0.15438438206911087, - "tests/dataset/test_dataset_deprecated.py::test_get_or_add_layer_by_type": 0.16520214080810547, - "tests/dataset/test_dataset_deprecated.py::test_get_or_add_layer_idempotence": 0.1562487632036209, - "tests/dataset/test_dataset_deprecated.py::test_get_or_add_mag": 0.1630454957485199, - "tests/dataset/test_dataset_deprecated.py::test_get_view": 0.25471459329128265, + "tests/dataset/test_dataset.py::test_zarr_copy_to_remote_dataset[zarr3]": 2.8264833810062555, + "tests/dataset/test_dataset.py::test_zarr_copy_to_remote_dataset[zarr]": 2.8641893940002774, + "tests/dataset/test_dataset_deprecated.py::test_add_copy_layer": 0.1889301039991551, + "tests/dataset/test_dataset_deprecated.py::test_add_fs_copy_mag": 1.0098515749959915, + "tests/dataset/test_dataset_deprecated.py::test_add_layer_like": 0.1675690739939455, + "tests/dataset/test_dataset_deprecated.py::test_add_symlink_layer": 0.20486796000113827, + "tests/dataset/test_dataset_deprecated.py::test_add_symlink_mag": 0.2099595900035638, + "tests/dataset/test_dataset_deprecated.py::test_adding_layer_with_invalid_dtype_per_layer": 0.1818271670017566, + "tests/dataset/test_dataset_deprecated.py::test_adding_layer_with_valid_dtype_per_layer": 0.17596981099632103, + "tests/dataset/test_dataset_deprecated.py::test_bounding_box_on_disk": 0.18602263800130459, + "tests/dataset/test_dataset_deprecated.py::test_changing_layer_bounding_box": 0.17621021999730146, + "tests/dataset/test_dataset_deprecated.py::test_chunking_wk": 3.196210645000974, + "tests/dataset/test_dataset_deprecated.py::test_chunking_wk_advanced": 4.525236388002668, + "tests/dataset/test_dataset_deprecated.py::test_chunking_wk_wrong_chunk_size": 2.068034661002457, + "tests/dataset/test_dataset_deprecated.py::test_compression": 3.324827220996667, + "tests/dataset/test_dataset_deprecated.py::test_create_dataset_with_explicit_header_fields": 0.2377881950014853, + "tests/dataset/test_dataset_deprecated.py::test_create_dataset_with_layer_and_mag": 0.18915150800239644, + "tests/dataset/test_dataset_deprecated.py::test_dataset_conversion": 4.130299738000758, + "tests/dataset/test_dataset_deprecated.py::test_dataset_exist_ok": 0.22977591499875416, + "tests/dataset/test_dataset_deprecated.py::test_dataset_name": 0.1793977970010019, + "tests/dataset/test_dataset_deprecated.py::test_dataset_shallow_copy[False]": 0.18172257200058084, + "tests/dataset/test_dataset_deprecated.py::test_dataset_shallow_copy[True]": 0.1674413660002756, + "tests/dataset/test_dataset_deprecated.py::test_dataset_view_configuration": 0.1989085339992016, + "tests/dataset/test_dataset_deprecated.py::test_delete_layer_and_mag": 0.20589405900318525, + "tests/dataset/test_dataset_deprecated.py::test_empty_read": 0.16841374400246423, + "tests/dataset/test_dataset_deprecated.py::test_for_zipped_chunks": 4.7927430539966736, + "tests/dataset/test_dataset_deprecated.py::test_for_zipped_chunks_invalid_target_chunk_size_wk": 1.198220656002377, + "tests/dataset/test_dataset_deprecated.py::test_get_largest_segment_id": 0.17106510699886712, + "tests/dataset/test_dataset_deprecated.py::test_get_or_add_layer": 0.1658737809957529, + "tests/dataset/test_dataset_deprecated.py::test_get_or_add_layer_by_type": 0.18099717600125587, + "tests/dataset/test_dataset_deprecated.py::test_get_or_add_layer_idempotence": 0.16635582900198642, + "tests/dataset/test_dataset_deprecated.py::test_get_or_add_mag": 0.22282686399921658, + "tests/dataset/test_dataset_deprecated.py::test_get_view": 0.27227811999910045, "tests/dataset/test_dataset_deprecated.py::test_largest_segment_id_requirement": 0.1564250960946083, - "tests/dataset/test_dataset_deprecated.py::test_layer_view_configuration": 0.1631011813879013, - "tests/dataset/test_dataset_deprecated.py::test_mag_view_write_out_of_bounds": 0.18019317835569382, - "tests/dataset/test_dataset_deprecated.py::test_mag_view_write_out_of_bounds_mag2": 0.15839916467666626, - "tests/dataset/test_dataset_deprecated.py::test_modify_existing_dataset": 0.19592753052711487, - "tests/dataset/test_dataset_deprecated.py::test_num_channel_mismatch_assertion": 0.1564926579594612, - "tests/dataset/test_dataset_deprecated.py::test_open_dataset": 0.15745584666728973, - "tests/dataset/test_dataset_deprecated.py::test_open_dataset_without_num_channels_in_properties": 0.15487664192914963, - "tests/dataset/test_dataset_deprecated.py::test_outdated_dtype_parameter": 0.15628861635923386, - "tests/dataset/test_dataset_deprecated.py::test_pickle_view": 0.1623045578598976, - "tests/dataset/test_dataset_deprecated.py::test_properties_with_segmentation": 0.15285593271255493, - "tests/dataset/test_dataset_deprecated.py::test_read_bbox": 0.1688055917620659, - "tests/dataset/test_dataset_deprecated.py::test_read_only_view": 0.20245563238859177, - "tests/dataset/test_dataset_deprecated.py::test_read_padded_data": 0.15299894660711288, - "tests/dataset/test_dataset_deprecated.py::test_rename_layer": 0.15866270661354065, - "tests/dataset/test_dataset_deprecated.py::test_search_dataset_also_for_long_layer_name": 0.15611770749092102, - "tests/dataset/test_dataset_deprecated.py::test_typing_of_get_mag": 0.19751528650522232, - "tests/dataset/test_dataset_deprecated.py::test_update_new_bounding_box_offset": 0.15794138610363007, - "tests/dataset/test_dataset_deprecated.py::test_view_read": 0.15303131937980652, - "tests/dataset/test_dataset_deprecated.py::test_view_write": 0.1580556184053421, - "tests/dataset/test_dataset_deprecated.py::test_view_write_out_of_bounds": 0.1571793332695961, - "tests/dataset/test_dataset_deprecated.py::test_wk_write_multi_channel_uint16": 0.42762254923582077, - "tests/dataset/test_dataset_deprecated.py::test_write_multi_channel_uint8": 0.4196927025914192, - "tests/dataset/test_dataset_deprecated.py::test_writing_subset_of_chunked_compressed_data": 3.771276019513607, - "tests/dataset/test_dataset_deprecated.py::test_writing_subset_of_compressed_data": 3.745102047920227, - "tests/dataset/test_dataset_deprecated.py::test_writing_subset_of_compressed_data_multi_channel": 3.715324744582176, - "tests/dataset/test_dataset_deprecated.py::test_writing_subset_of_compressed_data_single_channel": 3.655264236032963, - "tests/dataset/test_dataset_download_upload_remote.py::test_remote_dataset": 5.029461830854416, - "tests/dataset/test_dataset_download_upload_remote.py::test_upload_download_roundtrip": 2.960392579436302, - "tests/dataset/test_dataset_download_upload_remote.py::test_url_download[93zLg9U9vJ3c_UWp]": 0.4498918205499649, - "tests/dataset/test_dataset_download_upload_remote.py::test_url_download[l4_sample_dev/view]": 0.4106527417898178, - "tests/dataset/test_dataset_download_upload_remote.py::test_url_download[l4_sample_dev]": 1.3486668691039085, - "tests/dataset/test_dataset_download_upload_remote.py::test_url_download[l4_sample_dev_sharing/view]": 0.4117005467414856, - "tests/dataset/test_dataset_download_upload_remote.py::test_url_open_remote[93zLg9U9vJ3c_UWp]": 0.9364917576313019, - "tests/dataset/test_dataset_download_upload_remote.py::test_url_open_remote[l4_sample_dev/view]": 1.0940756872296333, - "tests/dataset/test_dataset_download_upload_remote.py::test_url_open_remote[l4_sample_dev]": 1.0700638890266418, - "tests/dataset/test_dataset_download_upload_remote.py::test_url_open_remote[l4_sample_dev_sharing/view]": 0.8699092641472816, + "tests/dataset/test_dataset_deprecated.py::test_layer_view_configuration": 0.17821973100217292, + "tests/dataset/test_dataset_deprecated.py::test_mag_view_write_out_of_bounds": 0.1650526310004352, + "tests/dataset/test_dataset_deprecated.py::test_mag_view_write_out_of_bounds_mag2": 0.1683954559994163, + "tests/dataset/test_dataset_deprecated.py::test_modify_existing_dataset": 0.17617678299939143, + "tests/dataset/test_dataset_deprecated.py::test_no_largest_segment_id": 0.17004733799694804, + "tests/dataset/test_dataset_deprecated.py::test_num_channel_mismatch_assertion": 0.1645145849979599, + "tests/dataset/test_dataset_deprecated.py::test_open_dataset": 0.15893296400099644, + "tests/dataset/test_dataset_deprecated.py::test_open_dataset_without_num_channels_in_properties": 0.1594516900004237, + "tests/dataset/test_dataset_deprecated.py::test_outdated_dtype_parameter": 0.16212030100359698, + "tests/dataset/test_dataset_deprecated.py::test_pickle_view": 0.16544872099620989, + "tests/dataset/test_dataset_deprecated.py::test_properties_with_segmentation": 0.15553681600431446, + "tests/dataset/test_dataset_deprecated.py::test_read_bbox": 0.17509580600017216, + "tests/dataset/test_dataset_deprecated.py::test_read_only_view": 0.1934489470004337, + "tests/dataset/test_dataset_deprecated.py::test_read_padded_data": 0.16385808299673954, + "tests/dataset/test_dataset_deprecated.py::test_rename_layer": 0.16840517500168062, + "tests/dataset/test_dataset_deprecated.py::test_search_dataset_also_for_long_layer_name": 0.17232311100087827, + "tests/dataset/test_dataset_deprecated.py::test_typing_of_get_mag": 0.19317537000097218, + "tests/dataset/test_dataset_deprecated.py::test_update_new_bounding_box_offset": 0.1796005479991436, + "tests/dataset/test_dataset_deprecated.py::test_view_read": 0.16136632100096904, + "tests/dataset/test_dataset_deprecated.py::test_view_write": 0.16043328000159818, + "tests/dataset/test_dataset_deprecated.py::test_view_write_out_of_bounds": 0.16671635500097182, + "tests/dataset/test_dataset_deprecated.py::test_wk_write_multi_channel_uint16": 0.4395955270010745, + "tests/dataset/test_dataset_deprecated.py::test_write_multi_channel_uint8": 0.4242679089984449, + "tests/dataset/test_dataset_deprecated.py::test_writing_subset_of_chunked_compressed_data": 3.976407009995455, + "tests/dataset/test_dataset_deprecated.py::test_writing_subset_of_compressed_data": 3.6994384360004915, + "tests/dataset/test_dataset_deprecated.py::test_writing_subset_of_compressed_data_multi_channel": 3.662937940003758, + "tests/dataset/test_dataset_deprecated.py::test_writing_subset_of_compressed_data_single_channel": 3.6199757780050277, + "tests/dataset/test_dataset_download_upload_remote.py::test_remote_dataset": 1.5937306770065334, + "tests/dataset/test_dataset_download_upload_remote.py::test_upload_download_roundtrip": 1.365419847999874, + "tests/dataset/test_dataset_download_upload_remote.py::test_url_download[93zLg9U9vJ3c_UWp]": 0.4517851449963928, + "tests/dataset/test_dataset_download_upload_remote.py::test_url_download[l4_sample_dev/view]": 0.4327917869959492, + "tests/dataset/test_dataset_download_upload_remote.py::test_url_download[l4_sample_dev]": 2.049725874003343, + "tests/dataset/test_dataset_download_upload_remote.py::test_url_download[l4_sample_dev_sharing/view]": 0.4410479909965943, + "tests/dataset/test_dataset_download_upload_remote.py::test_url_open_remote[93zLg9U9vJ3c_UWp]": 0.3392271429984248, + "tests/dataset/test_dataset_download_upload_remote.py::test_url_open_remote[l4_sample_dev/view]": 0.30624361900117947, + "tests/dataset/test_dataset_download_upload_remote.py::test_url_open_remote[l4_sample_dev]": 0.29926569600138464, + "tests/dataset/test_dataset_download_upload_remote.py::test_url_open_remote[l4_sample_dev_sharing/view]": 0.3238740790002339, "tests/dataset/test_downsampling.py::test_anisotropic_mag_calculation": 0.15973825007677078, - "tests/dataset/test_downsampling.py::test_compressed_downsample_cube_job": 13.497367292642593, - "tests/dataset/test_downsampling.py::test_default_anisotropic_voxel_size": 5.19753685593605, - "tests/dataset/test_downsampling.py::test_default_max_mag": 0.15309562534093857, - "tests/dataset/test_downsampling.py::test_default_parameter": 3.1824079379439354, - "tests/dataset/test_downsampling.py::test_downsample_2d": 2.4216027036309242, - "tests/dataset/test_downsampling.py::test_downsample_compressed": 7.553691931068897, - "tests/dataset/test_downsampling.py::test_downsample_cube": 0.8599234819412231, - "tests/dataset/test_downsampling.py::test_downsample_cube_job": 41.912383548915386, - "tests/dataset/test_downsampling.py::test_downsample_mag_list": 10.605703957378864, - "tests/dataset/test_downsampling.py::test_downsample_mag_list_with_only_setup_mags": 10.535773418843746, - "tests/dataset/test_downsampling.py::test_downsample_median": 0.15576239675283432, - "tests/dataset/test_downsampling.py::test_downsample_mode": 0.14760403335094452, - "tests/dataset/test_downsampling.py::test_downsample_multi_channel": 0.1988944262266159, - "tests/dataset/test_downsampling.py::test_downsample_with_invalid_mag_list": 0.20664457976818085, - "tests/dataset/test_downsampling.py::test_non_linear_filter_reshape": 0.1558559462428093, - "tests/dataset/test_from_images.py::test_compare_tifffile": 3.8731000050902367, - "tests/dataset/test_from_images.py::test_multiple_multitiffs": 11.885219223797321, - "tests/dataset/test_upsampling.py::test_compressed_upsample_cube_job": 1.1564592719078064, - "tests/dataset/test_upsampling.py::test_upsample_cube": 0.4119506850838661, - "tests/dataset/test_upsampling.py::test_upsample_cube_job": 0.5155721604824066, - "tests/dataset/test_upsampling.py::test_upsample_multi_channel": 0.25186971575021744, - "tests/dataset/test_upsampling.py::test_upsampling": 4.17419470846653, - "tests/geometry/test_bounding_box.py::test_align_with_mag_against_numpy_implementation": 0.39104389399290085, - "tests/geometry/test_bounding_box.py::test_align_with_mag_ceiled": 0.15530961006879807, - "tests/geometry/test_bounding_box.py::test_align_with_mag_floored": 0.15912938863039017, - "tests/geometry/test_bounding_box.py::test_contains": 0.15717900544404984, - "tests/geometry/test_bounding_box.py::test_in_mag": 0.15973597764968872, - "tests/geometry/test_bounding_box.py::test_negative_inversion": 0.3028593957424164, - "tests/geometry/test_bounding_box.py::test_negative_size": 0.14995123445987701, - "tests/geometry/test_bounding_box.py::test_with_bounds": 0.15761850774288177, - "tests/geometry/test_mag.py::test_mag_constructor": 0.15013309568166733, - "tests/geometry/test_vec3_int.py::test_contains": 0.15517348051071167, - "tests/geometry/test_vec3_int.py::test_custom_initialization": 0.1942247897386551, - "tests/geometry/test_vec3_int.py::test_export": 0.15420693904161453, - "tests/geometry/test_vec3_int.py::test_import": 0.15648315846920013, - "tests/geometry/test_vec3_int.py::test_method_arithmetic": 0.15385914593935013, - "tests/geometry/test_vec3_int.py::test_operator_arithmetic": 0.1536577194929123, - "tests/geometry/test_vec3_int.py::test_prod": 0.1546929031610489, - "tests/geometry/test_vec3_int.py::test_repr": 0.15441933274269104, - "tests/geometry/test_vec3_int.py::test_with": 0.15490857511758804, - "tests/test_annotation.py::test_annotation_from_file_with_multi_volume": 0.12075722217559814, - "tests/test_annotation.py::test_annotation_from_nml_file": 0.06951937824487686, - "tests/test_annotation.py::test_annotation_from_url[61c20205010000cc004a6356]": 25.051065094769, - "tests/test_annotation.py::test_annotation_from_url[LNir_A2-aCUzsoSL]": 25.295686192810535, + "tests/dataset/test_downsampling.py::test_compressed_downsample_cube_job": 11.059907357001066, + "tests/dataset/test_downsampling.py::test_default_anisotropic_voxel_size": 4.688913740003045, + "tests/dataset/test_downsampling.py::test_default_max_mag": 0.15561671899922658, + "tests/dataset/test_downsampling.py::test_default_parameter": 3.109313713001029, + "tests/dataset/test_downsampling.py::test_downsample_2d": 1.9407897749988479, + "tests/dataset/test_downsampling.py::test_downsample_compressed": 6.8188653890028945, + "tests/dataset/test_downsampling.py::test_downsample_cube": 0.76031881200106, + "tests/dataset/test_downsampling.py::test_downsample_cube_job": 16.974916483992274, + "tests/dataset/test_downsampling.py::test_downsample_mag_list": 9.61936785799844, + "tests/dataset/test_downsampling.py::test_downsample_mag_list_with_only_setup_mags": 9.403524355999252, + "tests/dataset/test_downsampling.py::test_downsample_median": 0.17348706599659636, + "tests/dataset/test_downsampling.py::test_downsample_mode": 0.17772466399765108, + "tests/dataset/test_downsampling.py::test_downsample_multi_channel": 0.18454601199846365, + "tests/dataset/test_downsampling.py::test_downsample_with_invalid_mag_list": 0.1902943109998887, + "tests/dataset/test_downsampling.py::test_invalid_mag_calculation[voxel_size0-finest_mag0-coarsest_mag0]": 0.15078214800087153, + "tests/dataset/test_downsampling.py::test_invalid_mag_calculation[voxel_size1-finest_mag1-coarsest_mag1]": 0.1540194750050432, + "tests/dataset/test_downsampling.py::test_invalid_mag_calculation[voxel_size2-finest_mag2-coarsest_mag2]": 0.15185733499674825, + "tests/dataset/test_downsampling.py::test_mag_calculation[None-finest_mag10-coarsest_mag10-scheme10]": 0.15002302500215592, + "tests/dataset/test_downsampling.py::test_mag_calculation[None-finest_mag11-coarsest_mag11-scheme11]": 0.15088229299726663, + "tests/dataset/test_downsampling.py::test_mag_calculation[None-finest_mag12-coarsest_mag12-scheme12]": 0.14846163100446574, + "tests/dataset/test_downsampling.py::test_mag_calculation[None-finest_mag13-coarsest_mag13-scheme13]": 0.15130663199306582, + "tests/dataset/test_downsampling.py::test_mag_calculation[None-finest_mag9-coarsest_mag9-scheme9]": 0.15414925400182256, + "tests/dataset/test_downsampling.py::test_mag_calculation[voxel_size0-finest_mag0-16-scheme0]": 0.1558204899993143, + "tests/dataset/test_downsampling.py::test_mag_calculation[voxel_size1-finest_mag1-coarsest_mag1-scheme1]": 0.15262161000282504, + "tests/dataset/test_downsampling.py::test_mag_calculation[voxel_size2-finest_mag2-coarsest_mag2-scheme2]": 0.15491723000377533, + "tests/dataset/test_downsampling.py::test_mag_calculation[voxel_size3-finest_mag3-coarsest_mag3-scheme3]": 0.1515255359990988, + "tests/dataset/test_downsampling.py::test_mag_calculation[voxel_size4-finest_mag4-coarsest_mag4-scheme4]": 0.15412467100395588, + "tests/dataset/test_downsampling.py::test_mag_calculation[voxel_size5-finest_mag5-coarsest_mag5-scheme5]": 0.15297886400367133, + "tests/dataset/test_downsampling.py::test_mag_calculation[voxel_size6-finest_mag6-coarsest_mag6-scheme6]": 0.15125046199682401, + "tests/dataset/test_downsampling.py::test_mag_calculation[voxel_size7-finest_mag7-coarsest_mag7-scheme7]": 0.1513598749988887, + "tests/dataset/test_downsampling.py::test_mag_calculation[voxel_size8-finest_mag8-coarsest_mag8-scheme8]": 0.1522759200015571, + "tests/dataset/test_downsampling.py::test_non_linear_filter_reshape": 0.16804074799802038, + "tests/dataset/test_from_images.py::test_compare_tifffile": 3.249634262003383, + "tests/dataset/test_from_images.py::test_multiple_multitiffs": 10.131403864997992, + "tests/dataset/test_from_images.py::test_no_slashes_in_layername": 24.23449072799849, + "tests/dataset/test_upsampling.py::test_compressed_upsample_cube_job": 1.0169777800001611, + "tests/dataset/test_upsampling.py::test_upsample_cube": 0.4275651179959823, + "tests/dataset/test_upsampling.py::test_upsample_cube_job": 0.4929133619989443, + "tests/dataset/test_upsampling.py::test_upsample_multi_channel": 0.16682249000223237, + "tests/dataset/test_upsampling.py::test_upsampling": 3.7065992380012176, + "tests/dataset/test_upsampling.py::test_upsampling_non_aligned": 8.279648147999978, + "tests/geometry/test_bounding_box.py::test_align_with_mag_against_numpy_implementation": 0.32611605600322946, + "tests/geometry/test_bounding_box.py::test_align_with_mag_ceiled": 0.17642407499806723, + "tests/geometry/test_bounding_box.py::test_align_with_mag_floored": 0.1542522320014541, + "tests/geometry/test_bounding_box.py::test_contains": 0.1521836420033651, + "tests/geometry/test_bounding_box.py::test_in_mag": 0.15365089099577744, + "tests/geometry/test_bounding_box.py::test_negative_inversion": 0.2574966360007238, + "tests/geometry/test_bounding_box.py::test_negative_size": 0.1542723599995952, + "tests/geometry/test_bounding_box.py::test_with_bounds": 0.15173467099884874, + "tests/geometry/test_mag.py::test_mag_constructor": 0.18765569900278933, + "tests/geometry/test_vec3_int.py::test_contains": 0.15244225800051936, + "tests/geometry/test_vec3_int.py::test_custom_initialization": 0.172374232999573, + "tests/geometry/test_vec3_int.py::test_export": 0.15469420100271236, + "tests/geometry/test_vec3_int.py::test_import": 0.15293901599943638, + "tests/geometry/test_vec3_int.py::test_method_arithmetic": 0.15249362499525887, + "tests/geometry/test_vec3_int.py::test_operator_arithmetic": 0.15484279700467596, + "tests/geometry/test_vec3_int.py::test_prod": 0.1544977800003835, + "tests/geometry/test_vec3_int.py::test_repr": 0.15253916999790817, + "tests/geometry/test_vec3_int.py::test_with": 0.15077825699700043, + "tests/test_annotation.py::test_annotation_from_file_with_multi_volume": 0.09673236099843052, + "tests/test_annotation.py::test_annotation_from_nml_file": 0.06621742399875075, + "tests/test_annotation.py::test_annotation_from_url[61c20205010000cc004a6356]": 3.036789490997762, + "tests/test_annotation.py::test_annotation_from_url[LNir_A2-aCUzsoSL]": 3.1670774960039125, + "tests/test_annotation.py::test_annotation_from_wkw_zip_file": 0.20311283000046387, + "tests/test_annotation.py::test_annotation_from_zarr3_zip_file": 0.16538754799694289, "tests/test_annotation.py::test_annotation_from_zip_file": 0.24073150753974915, - "tests/test_annotation.py::test_bounding_box_roundtrip": 2.443779803812504, - "tests/test_annotation.py::test_empty_volume_annotation": 0.09520236402750015, - "tests/test_annotation.py::test_nml_with_volumes[nml_path0]": 0.07338111102581024, - "tests/test_annotation.py::test_nml_with_volumes[nml_path1]": 0.0780244991183281, - "tests/test_annotation.py::test_reading_bounding_boxes": 0.07559376209974289, - "tests/test_cli.py::test_check_equality": 1.8832387030124664, - "tests/test_cli.py::test_check_not_equal": 1.7822122648358345, - "tests/test_cli.py::test_compress": 1.367538645863533, - "tests/test_cli.py::test_convert": 3.800660200417042, + "tests/test_annotation.py::test_bounding_box_roundtrip": 0.5299340510027832, + "tests/test_annotation.py::test_empty_volume_annotation": 0.07569810400309507, + "tests/test_annotation.py::test_nml_with_volumes[nml_path0]": 0.072085256997525, + "tests/test_annotation.py::test_nml_with_volumes[nml_path1]": 0.06979490000230726, + "tests/test_annotation.py::test_reading_bounding_boxes": 0.07406705199900898, + "tests/test_api_client.py::test_annotation_info": 0.09157447899997351, + "tests/test_api_client.py::test_build_info": 0.08662823499980732, + "tests/test_api_client.py::test_current_user_info_and_user_logged_time": 0.11071391899531591, + "tests/test_api_client.py::test_dataset_info": 0.09006180700089317, + "tests/test_api_client.py::test_datastore_list": 0.08718254399718717, + "tests/test_api_client.py::test_generate_token_for_data_store": 0.08578408399989712, + "tests/test_api_client.py::test_health": 0.09353401200132794, + "tests/test_api_client.py::test_user_list": 0.08911013699980685, + "tests/test_cli.py::test_check_equality": 2.010316206004063, + "tests/test_cli.py::test_check_not_equal": 1.3501676870000665, + "tests/test_cli.py::test_compress": 1.7502429929991195, + "tests/test_cli.py::test_convert": 3.393084709001414, "tests/test_cli.py::test_convert_with_all_params": 5.3987706154584885, - "tests/test_cli.py::test_download_dataset[cremi_example/view]": 0.27614830434322357, - "tests/test_cli.py::test_download_dataset[cremi_example]": 0.5093530640006065, - "tests/test_cli.py::test_download_dataset[upcKUKDe5CatK4JX]": 0.3032403290271759, - "tests/test_cli.py::test_downsample_and_upsample": 3.461030103266239, - "tests/test_cli.py::test_export_tiff_stack": 2.2561437487602234, - "tests/test_cli.py::test_export_tiff_stack_tile_size": 2.2294547632336617, - "tests/test_cli.py::test_export_tiff_stack_tiles_per_dimension": 3.3620718866586685, - "tests/test_cli.py::test_main": 0.09890320897102356, - "tests/test_cli.py::test_tiff_cubing_zarr_s3": 9.865621604025364, - "tests/test_cli.py::test_upload": 0.10455379635095596, - "tests/test_examples.py::test_apply_merger_mode": 6.484920978546143, - "tests/test_examples.py::test_calculate_segment_sizes": 0.26757484674453735, - "tests/test_examples.py::test_create_dataset_from_images": 15.924394227564335, - "tests/test_examples.py::test_dataset_usage": 3.5628900602459908, - "tests/test_examples.py::test_download_image_data": 0.3225179836153984, - "tests/test_examples.py::test_download_segments": 2.3268121257424355, - "tests/test_examples.py::test_download_tiff_stack": 0.6987003237009048, - "tests/test_examples.py::test_image_stack_to_dataset": 1.3691850006580353, - "tests/test_examples.py::test_learned_segmenter": 18.919468849897385, - "tests/test_examples.py::test_remote_datasets": 68.72648879140615, - "tests/test_examples.py::test_skeleton_synapse_candidates": 0.0821763128042221, - "tests/test_examples.py::test_upload_image_data": 2.7531749084591866, - "tests/test_examples.py::test_upload_tiff_stack": 12.736023597419262, - "tests/test_examples.py::test_user_times": 0.4184410944581032, - "tests/test_examples.py::test_zarr_and_dask": 1.5763264894485474, + "tests/test_cli.py::test_convert_with_all_params[origin_path0]": 16.047249893003027, + "tests/test_cli.py::test_convert_with_all_params[origin_path1]": 7.941467011998611, + "tests/test_cli.py::test_download_dataset[cremi_example/view]": 0.4291790290044446, + "tests/test_cli.py::test_download_dataset[cremi_example]": 0.5420331159984926, + "tests/test_cli.py::test_download_dataset[upcKUKDe5CatK4JX]": 0.5292496290021518, + "tests/test_cli.py::test_downsample_and_upsample": 3.0139073869977437, + "tests/test_cli.py::test_export_tiff_stack": 2.031336095995357, + "tests/test_cli.py::test_export_tiff_stack_tile_size": 2.0858978610012855, + "tests/test_cli.py::test_export_tiff_stack_tiles_per_dimension": 2.837990403000731, + "tests/test_cli.py::test_main": 0.08861725399765419, + "tests/test_cli.py::test_tiff_cubing_zarr_s3": 8.290960717000416, + "tests/test_cli.py::test_upload": 0.11027776599803474, + "tests/test_examples.py::test_apply_merger_mode": 11.448134919002769, + "tests/test_examples.py::test_calculate_segment_sizes": 0.42010556800232735, + "tests/test_examples.py::test_create_dataset_from_images": 16.409163805998105, + "tests/test_examples.py::test_dataset_usage": 3.22173155499695, + "tests/test_examples.py::test_download_image_data": 0.5182908979950298, + "tests/test_examples.py::test_download_segments": 8.560525393997523, + "tests/test_examples.py::test_download_tiff_stack": 2.65603066699623, + "tests/test_examples.py::test_image_stack_to_dataset": 1.8853811759981909, + "tests/test_examples.py::test_learned_segmenter": 25.045705884997005, + "tests/test_examples.py::test_load_annotation_file": 0.29683646400008, + "tests/test_examples.py::test_remote_datasets": 6.795806642003299, + "tests/test_examples.py::test_skeleton_path_length": 5.182977645996289, + "tests/test_examples.py::test_skeleton_synapse_candidates": 0.07096688099773019, + "tests/test_examples.py::test_upload_image_data": 2.469934866003314, + "tests/test_examples.py::test_upload_tiff_stack": 10.06265858900224, + "tests/test_examples.py::test_user_times": 0.4283724009983416, + "tests/test_examples.py::test_zarr_and_dask": 3.7485016440004983, "tests/test_generated_client.py::test_annotation_info": 0.14652160555124283, "tests/test_generated_client.py::test_build_info": 0.1409713625907898, "tests/test_generated_client.py::test_current_user_info_and_user_logged_time": 0.1777079626917839, @@ -458,17 +500,17 @@ "tests/test_generated_client.py::test_generate_token_for_data_store": 0.14132458716630936, "tests/test_generated_client.py::test_health": 0.14477330446243286, "tests/test_generated_client.py::test_user_list": 0.13938023895025253, - "tests/test_skeleton.py::test_add_tree_with_obj": 0.08148583024740219, - "tests/test_skeleton.py::test_add_tree_with_obj_and_properties": 0.08171474188566208, - "tests/test_skeleton.py::test_doc_example": 0.133566252887249, - "tests/test_skeleton.py::test_export_to_nml": 0.08208348602056503, - "tests/test_skeleton.py::test_immutability": 0.07700842618942261, - "tests/test_skeleton.py::test_import_export_round_trip": 0.07616778463125229, - "tests/test_skeleton.py::test_import_from_nml": 0.08077496290206909, - "tests/test_skeleton.py::test_load_nml": 0.08294203132390976, - "tests/test_skeleton.py::test_remove_tree": 0.08227895200252533, - "tests/test_skeleton.py::test_simple_initialization_and_representations": 0.08553983271121979, - "tests/test_skeleton.py::test_skeleton_creation": 0.07938411086797714, - "tests/test_skeleton.py::test_volume_dump_round_trip[None]": 0.07867802679538727, - "tests/test_skeleton.py::test_volume_dump_round_trip[my_layer]": 0.08039439469575882 + "tests/test_skeleton.py::test_add_tree_with_obj": 0.07115651200365392, + "tests/test_skeleton.py::test_add_tree_with_obj_and_properties": 0.07571567200284335, + "tests/test_skeleton.py::test_doc_example": 0.08913361299710232, + "tests/test_skeleton.py::test_export_to_nml": 0.07286380700315931, + "tests/test_skeleton.py::test_immutability": 0.069710589999886, + "tests/test_skeleton.py::test_import_export_round_trip": 0.06957410000541131, + "tests/test_skeleton.py::test_import_from_nml": 0.0710677700008091, + "tests/test_skeleton.py::test_load_nml": 0.07365681499504717, + "tests/test_skeleton.py::test_remove_tree": 0.07112972299728426, + "tests/test_skeleton.py::test_simple_initialization_and_representations": 0.0743152539980656, + "tests/test_skeleton.py::test_skeleton_creation": 0.07114272200124105, + "tests/test_skeleton.py::test_volume_dump_round_trip[None]": 0.07082111299678218, + "tests/test_skeleton.py::test_volume_dump_round_trip[my_layer]": 0.07062740299807047 } \ No newline at end of file diff --git a/webknossos/Changelog.md b/webknossos/Changelog.md index 5c01f0d63..0925ded7d 100644 --- a/webknossos/Changelog.md +++ b/webknossos/Changelog.md @@ -17,6 +17,7 @@ For upgrade instructions, please check the respective _Breaking Changes_ section ### Added ### Changed +- Performance improvements for reading from and writing to sharded zarr3 datasets, also speeding up the automated tests [#963](https://github.com/scalableminds/webknossos-libs/pull/963) ### Fixed diff --git a/webknossos/poetry.lock b/webknossos/poetry.lock index dc0115c9f..dac24d19b 100644 --- a/webknossos/poetry.lock +++ b/webknossos/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. [[package]] name = "aiobotocore" @@ -2068,8 +2068,8 @@ files = [ [package.dependencies] numpy = [ {version = ">=1.20.3", markers = "python_version < \"3.10\""}, - {version = ">=1.21.0", markers = "python_version >= \"3.10\""}, {version = ">=1.23.2", markers = "python_version >= \"3.11\""}, + {version = ">=1.21.0", markers = "python_version >= \"3.10\" and python_version < \"3.11\""}, ] python-dateutil = ">=2.8.1" pytz = ">=2020.1" @@ -2562,6 +2562,17 @@ files = [ [package.dependencies] pytest = ">=5.0.0" +[[package]] +name = "pytest-timestamper" +version = "0.0.9" +description = "Pytest plugin to add a timestamp prefix to the pytest output" +optional = false +python-versions = "*" +files = [ + {file = "pytest-timestamper-0.0.9.tar.gz", hash = "sha256:1e02f14d20cb8444a24de356d8c818a180559f0cb61119935fc6d64c6e6f963d"}, + {file = "pytest_timestamper-0.0.9-py3-none-any.whl", hash = "sha256:229ba49f4dce27207bf9c5dc8531c983bc1c6a92e1de740567f914d6ff4b0b17"}, +] + [[package]] name = "python-dateutil" version = "2.8.2" @@ -2650,6 +2661,7 @@ files = [ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, + {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290"}, {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, @@ -2657,8 +2669,15 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, + {file = "PyYAML-6.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b"}, {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, + {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, + {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, + {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, + {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, + {file = "PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df"}, {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, @@ -2675,6 +2694,7 @@ files = [ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, + {file = "PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6"}, {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, @@ -2682,6 +2702,7 @@ files = [ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, + {file = "PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5"}, {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, @@ -2982,6 +3003,11 @@ files = [ {file = "scikit_learn-1.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f66eddfda9d45dd6cadcd706b65669ce1df84b8549875691b1f403730bdef217"}, {file = "scikit_learn-1.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c6448c37741145b241eeac617028ba6ec2119e1339b1385c9720dae31367f2be"}, {file = "scikit_learn-1.3.1-cp311-cp311-win_amd64.whl", hash = "sha256:c413c2c850241998168bbb3bd1bb59ff03b1195a53864f0b80ab092071af6028"}, + {file = "scikit_learn-1.3.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ef540e09873e31569bc8b02c8a9f745ee04d8e1263255a15c9969f6f5caa627f"}, + {file = "scikit_learn-1.3.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:9147a3a4df4d401e618713880be023e36109c85d8569b3bf5377e6cd3fecdeac"}, + {file = "scikit_learn-1.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d2cd3634695ad192bf71645702b3df498bd1e246fc2d529effdb45a06ab028b4"}, + {file = "scikit_learn-1.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c275a06c5190c5ce00af0acbb61c06374087949f643ef32d355ece12c4db043"}, + {file = "scikit_learn-1.3.1-cp312-cp312-win_amd64.whl", hash = "sha256:0e1aa8f206d0de814b81b41d60c1ce31f7f2c7354597af38fae46d9c47c45122"}, {file = "scikit_learn-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:52b77cc08bd555969ec5150788ed50276f5ef83abb72e6f469c5b91a0009bbca"}, {file = "scikit_learn-1.3.1-cp38-cp38-macosx_12_0_arm64.whl", hash = "sha256:a683394bc3f80b7c312c27f9b14ebea7766b1f0a34faf1a2e9158d80e860ec26"}, {file = "scikit_learn-1.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a15d964d9eb181c79c190d3dbc2fff7338786bf017e9039571418a1d53dab236"}, @@ -3667,4 +3693,4 @@ tifffile = ["pims", "tifffile"] [metadata] lock-version = "2.0" python-versions = ">=3.8,<3.12" -content-hash = "fe01697d45931df23b05355d7d9b06a73853cb2381160a5d414b170f1a1ab452" +content-hash = "563d91cd2dc1d2717be2f5d1c83edd1d7d0e3b128334125e6c52fdd7917b7b59" diff --git a/webknossos/pyproject.toml b/webknossos/pyproject.toml index b7886a410..0dca59af2 100644 --- a/webknossos/pyproject.toml +++ b/webknossos/pyproject.toml @@ -64,6 +64,7 @@ JPype1 = { version = "^1.3.0", optional = true } pims = { version = "^0.6.0", optional = true } tifffile = { version = ">=2021.11.2", optional = true } pylibCZIrw = { version = "3.5.1", source = "scm", optional = true } +pytest-timestamper = "^0.0.9" [tool.poetry.extras] pims = ["pims"] diff --git a/webknossos/tests/dataset/test_dataset.py b/webknossos/tests/dataset/test_dataset.py index e4c586ad9..6da4b534c 100644 --- a/webknossos/tests/dataset/test_dataset.py +++ b/webknossos/tests/dataset/test_dataset.py @@ -2571,7 +2571,14 @@ def test_aligned_downsampling(data_format: DataFormat, output_path: Path) -> Non num_channels=3, data_format=input_layer.data_format, ) - test_mag = test_layer.add_mag("1") + + chunks_per_shard = None + if data_format == DataFormat.Zarr3: + # Writing compressed zarr with large shard shape is slow + # compare https://github.com/scalableminds/webknossos-libs/issues/964 + chunks_per_shard = (4, 4, 4) + + test_mag = test_layer.add_mag("1", chunks_per_shard=chunks_per_shard) test_mag.write( absolute_offset=(0, 0, 0), # assuming the layer has 3 channels: @@ -2601,8 +2608,15 @@ def test_guided_downsampling(data_format: DataFormat, output_path: Path) -> None input_dataset = Dataset.open(ds_path) input_layer = input_dataset.get_layer("color") + + chunks_per_shard = None + if data_format == DataFormat.Zarr3: + # Writing compressed zarr with large shard shape is slow + # compare https://github.com/scalableminds/webknossos-libs/issues/964 + chunks_per_shard = (4, 4, 4) + # Adding additional mags to the input dataset for testing - input_layer.get_or_add_mag("2-2-1") + input_layer.add_mag("2-2-1", chunks_per_shard=chunks_per_shard) input_layer.redownsample() assert len(input_layer.mags) == 2 # Use the mag with the best resolution @@ -2619,7 +2633,9 @@ def test_guided_downsampling(data_format: DataFormat, output_path: Path) -> None data_format=input_layer.data_format, ) # Create the same mag in the new output dataset - output_mag = output_layer.add_mag(finest_input_mag.mag) + output_mag = output_layer.add_mag( + finest_input_mag.mag, chunks_per_shard=chunks_per_shard + ) # Copying some data into the output dataset input_data = finest_input_mag.read(absolute_offset=(0, 0, 0), size=(24, 24, 24)) output_mag.write(absolute_offset=(0, 0, 0), data=input_data) diff --git a/webknossos/webknossos/dataset/_array.py b/webknossos/webknossos/dataset/_array.py index a3c3c64eb..97eaa940a 100644 --- a/webknossos/webknossos/dataset/_array.py +++ b/webknossos/webknossos/dataset/_array.py @@ -346,10 +346,9 @@ def read(self, offset: Vec3IntLike, shape: Vec3IntLike) -> np.ndarray: offset.y : (offset.y + shape.y), offset.z : (offset.z + shape.z), ] - if data.shape != shape: - padded_data = np.zeros( - (self.info.num_channels,) + shape.to_tuple(), dtype=data.dtype - ) + shape_with_channels = (self.info.num_channels,) + shape.to_tuple() + if data.shape != shape and data.shape != shape_with_channels: + padded_data = np.zeros(shape_with_channels, dtype=data.dtype) padded_data[ :, 0 : data.shape[1], @@ -591,10 +590,9 @@ def read(self, offset: Vec3IntLike, shape: Vec3IntLike) -> np.ndarray: offset.y : (offset.y + shape.y), offset.z : (offset.z + shape.z), ] - if data.shape != shape: - padded_data = np.zeros( - (self.info.num_channels,) + shape.to_tuple(), dtype=data.dtype - ) + shape_with_channels = (self.info.num_channels,) + shape.to_tuple() + if data.shape != shape and data.shape != shape_with_channels: + padded_data = np.zeros(shape_with_channels, dtype=data.dtype) padded_data[ :, 0 : data.shape[1],