Added thread bench.