
# Objective - Add benches for run criteria. This is in anticipation of run criteria being redone in stageless. ## Solution - Benches run criteria that don't access anything to test overhead - Test run criteria that use a query - Test run criteria that use a resource
49 lines
959 B
TOML
49 lines
959 B
TOML
[package]
|
|
name = "benches"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Benchmarks for Bevy engine"
|
|
publish = false
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dev-dependencies]
|
|
glam = "0.20"
|
|
criterion = { version = "0.3", features = ["html_reports"] }
|
|
bevy_ecs = { path = "../crates/bevy_ecs" }
|
|
bevy_tasks = { path = "../crates/bevy_tasks" }
|
|
|
|
[[bench]]
|
|
name = "archetype_updates"
|
|
path = "benches/bevy_ecs/archetype_updates.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "ecs_bench_suite"
|
|
path = "benches/bevy_ecs/ecs_bench_suite/mod.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "system_stage"
|
|
path = "benches/bevy_ecs/stages.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "run_criteria"
|
|
path = "benches/bevy_ecs/run_criteria.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "commands"
|
|
path = "benches/bevy_ecs/commands.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "world_get"
|
|
path = "benches/bevy_ecs/world_get.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "iter"
|
|
path = "benches/bevy_tasks/iter.rs"
|
|
harness = false
|