openworm / muscle_model

Model of C elegans body wall muscle based on Boyle & Cohen 2008
http://www.opensourcebrain.org/projects/muscle_model
Other
47 stars 24 forks source link

Create tests to catch performance regressions in specific functions #51

Open gsarma opened 9 years ago

gsarma commented 9 years ago

We have been exploring writing tests for catching performance regressions in PyOpenWorm and ChannelWorm.

We need to first decide which functions should be tested for performance and then define reference behavior. The simplest way is to check the performance relative to some simple computation, and later we can have a more sophisticated system for tracking performance and catching regressions.

The bare minimum to close this issue is a file called, e.g. PerformanceTests.py, with a single test and docstrings.

@travs