Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from benchmarker import Benchmarker
import threading
def f(x):
with Benchmarker(10000, width=20) as bench:
def _(bm):
for i in bm:
threading.Thread(target=f, args=(i,)).start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment