ruptures icon indicating copy to clipboard operation
ruptures copied to clipboard

test: Add asv benchmark jobs to CI

Open Illviljan opened this issue 2 years ago • 2 comments

Add a benchmarking ci, it will run if run-benchmark label is set.

  • [x] Closes #231

Inspired by:

  • https://labs.quansight.org/blog/2021/08/github-actions-benchmarks/
  • https://github.com/pydata/xarray/pull/5796
  • https://github.com/scikit-image/scikit-image/pull/5424

Illviljan avatar Jan 25 '22 21:01 Illviljan

Codecov Report

Merging #234 (324c802) into master (42b1bc3) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 324c802 differs from pull request most recent head dcdd3a3. Consider uploading reports for the commit dcdd3a3 to get more accurate results

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #234   +/-   ##
=======================================
  Coverage   98.77%   98.77%           
=======================================
  Files          40       40           
  Lines         978      978           
=======================================
  Hits          966      966           
  Misses         12       12           
Flag Coverage Δ
unittests 98.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 42b1bc3...dcdd3a3. Read the comment docs.

codecov[bot] avatar Jan 25 '22 21:01 codecov[bot]

Ok this is ready for review now, it passes on my local fork at least https://github.com/Illviljan/ruptures/pull/1. If you add the label run-benchmark the benchmark will run.

The benchmarks probably needs a bit more thought by someone more experienced. But that's for another PR I think.

Illviljan avatar Jan 28 '22 21:01 Illviljan