MAINT: add benchmark mode to runtests.py