Skip to content

bench: Extract tokio Runtime creation from benchmarking functions #15507

@Omega359

Description

@Omega359

Is your feature request related to a problem or challenge?

Noticed in #15367 (comment), a lot of benchmarks are inadvertently including the time it takes to create a tokio runtime in the benchmark.

Describe the solution you'd like

Extract out the Runtime::new::unwrap() to be outside of benchmarking function.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions