We only use Vitest for benchmarking, and in this major version the
benchmarking API got rewritten [1] which requires changes on our end.
This means that `bench` is no longer a top-level import, that under
water created a test on its own, but it's now a fixture inside regular
`test()` scopes.
For us this would mean quite a bit of additional boilerplate because
we'd have to wrap every existing benchmark into a separate `test()`
scope [2]. To keep the individual benchmarks small and expressive this
commit introduces a helper wrapper function that takes care of this,
basically mirroring the behavior of Vitest 4.
[1] https://vitest.dev/blog/vitest-5#benchmarking-rewrite
[2] https://vitest.dev/guide/migration/#benchmarking-api-rewrite