Updated benchmarking script with threads test.