bevyengine / bevyengine/bevy

Use single-threaded executor in benchmarks by default

Open
#9,838 3 comments 0 reactions 0 assignees View on GitHub
A-ECS C-Testing D-Trivial
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

As investigated in https://github.com/bevyengine/bevy/pull/9835, the overhead of multithreading can make benchmarks noisy in ways that are irrelevant to what we're actually testing.

## What solution would you like?

Implement this solution executed in the linked PR on our other benchmarks where relevant. Except when we're explicitly testing system parallelism, we probably don't want it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.