Add a simple threaded benchmark.