Open sirenkovladd opened 1 year ago
Can you elaborate on what you are suggesting? But yeah, circular dependencies should be avoided
in Task
to receive an interface with the necessary parameters and implement this interface in Bench
and make deprecated https://github.com/tinylibs/tinybench/blob/v2.5.1/src/task.ts#L19
and next step, (maybe in v3.0.0) remove this column
https://github.com/tinylibs/tinybench/blob/v2.5.0/src/bench.ts#L11
https://github.com/tinylibs/tinybench/blob/v2.5.0/src/task.ts#L4
I suggest leaving only the
import Task
in the branchAfter approval, I can create a PR (with backward compatibility, of course, as far as possible)