esi-neuroscience / syncopy

Systems Neuroscience Computing in Python: user-friendly analysis of large-scale electrophysiology data
BSD 3-Clause "New" or "Revised" License
44 stars 13 forks source link

Performance monitoring over time: Implement some airspeed velocity performance tests #494

Open dfsp-spirit opened 1 year ago

dfsp-spirit commented 1 year ago

To implement performance monitoring over time, we should Implement some airspeed velocity performance tests for Syncopy.

See airspeed velocity (asv) docs for more info. Basically we would like to be able to compare performance between different commits (releases, branches).

This is now WIP, see branch 494_asv

dfsp-spirit commented 1 year ago

After some research, we know that

dfsp-spirit commented 1 year ago

I have opened an issue with asv, I cannot get it to work with poetry.

dfsp-spirit commented 1 year ago

I have it working in the 494_asv branch with setup.py for now. Type asv run -v HEAD^!to benchmark the latest commit (in your current branch).

dfsp-spirit commented 1 year ago

I noticed that the scipy team has a nice wrapper around asv in their runtests.py script.