deepcharles / ruptures

ruptures: change point detection in Python
BSD 2-Clause "Simplified" License
1.6k stars 163 forks source link

test: Add asv benchmark jobs to CI #234

Open Illviljan opened 2 years ago

Illviljan commented 2 years ago

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

Inspired by:

codecov[bot] commented 2 years ago

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.

Illviljan commented 2 years ago

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.