added benchmark tool to speed test functions