def test_fast_uuidv3(benchmark): benchmark(fastuuid3, fastuuid4(), b"benchmark")
def test_fast_uuidv5(benchmark): benchmark(fastuuid5, fastuuid4(), b"benchmark")
def b(): pool = ThreadPoolExecutor(max_workers=8) for _ in range(8): pool.submit(lambda: [str(fastuuid4()) for _ in range(1000)]) pool.shutdown(wait=True)