tlambert03 / nd2

Full-featured nd2 (Nikon NIS Elements) file reader for python. Outputs to numpy, dask, and xarray. Exhaustive metadata extraction
https://tlambert03.github.io/nd2
BSD 3-Clause "New" or "Revised" License
53 stars 15 forks source link

ci: add codspeed benchmarks #152

Closed tlambert03 closed 1 year ago

tlambert03 commented 1 year ago

addresses https://github.com/tlambert03/nd2/issues/75, but maybe doesn't close it

codecov[bot] commented 1 year ago

Codecov Report

Merging #152 (03a2ce0) into main (757767b) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #152   +/-   ##
=======================================
  Coverage   93.18%   93.18%           
=======================================
  Files          15       15           
  Lines        2229     2229           
=======================================
  Hits         2077     2077           
  Misses        152      152           
Impacted Files Coverage Δ
src/nd2/nd2file.py 95.52% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codspeed-hq[bot] commented 1 year ago

CodSpeed Performance Report

Merging #152 codspeed (03a2ce0) will create unknown performance changes.

Congrats! CodSpeed is installed 🎉

🆕 13 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

Detected benchmarks

- `test_time_imread[jonas_control002]` (202.8 ms) - `test_time_imread[dims_p2z5t3-2c4y32x32]` (180.6 ms) - `test_time_imread[train_TR67_Inj7_fr50]` (125.4 ms) - `test_time_imread[karl_sample_image]` (1.5 s) - `test_time_imread_dask[jonas_control002]` (1.6 s) - `test_time_imread_dask[dims_p2z5t3-2c4y32x32]` (300.2 ms) - `test_time_imread_dask[train_TR67_Inj7_fr50]` (577.4 ms) - `test_time_imread_dask[karl_sample_image]` (2.1 s) - `test_time_all_metadata[jonas_control002]` (32.8 ms) - `test_time_all_metadata[dims_p2z5t3-2c4y32x32]` (201.8 ms) - `test_time_all_metadata[train_TR67_Inj7_fr50]` (209.5 ms) - `test_time_all_metadata[karl_sample_image]` (353.3 ms) - `test_time_all_metadata[aryeh_but3_cont200-1]` (95.8 ms)