tinylibs / tinybench

🔎 A simple, tiny and lightweight benchmarking library!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup hook not awaited during warmup

HlustikP opened this issue · comments

Currently, the setup method is awaited during normal benchmark runs, however it is not awaited during warmup, even though the setup method is per it's signature marked as potentially asynchronous.
Awaiting setup during warmup will create consistent behaviour for both the warmup and the actual benchmarking stage.