benchmark: make multithreaded