add: test result functions to speed test code