radio-astro-tools / spectral-cube

Library for reading and analyzing astrophysical spectral data cubes
http://spectral-cube.rtfd.org
BSD 3-Clause "New" or "Revised" License
98 stars 65 forks source link

Add profiling/performance testing tools and track with asv #167

Open keflavich opened 9 years ago

keflavich commented 9 years ago

spectral-cube is all about performance, so we should be tracking it.

ChrisBeaumont commented 9 years ago

Good point. This could be tricky with the memory mapping, since the OS does a lot of caching that makes repeated runs of a benchmark hard to compare directly. One way to get more repeatable runs is to run a command like purge on OSX to clear the cache, though it's kind of overkill