File tree Expand file tree Collapse file tree 3 files changed +704
-1
lines changed Expand file tree Collapse file tree 3 files changed +704
-1
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,18 @@ license = "MIT OR Apache-2.0"
8
8
9
9
[dev-dependencies ]
10
10
glam = " 0.24"
11
- rand = " 0.8"
11
+ rand = { version = " 0.8" , features = [ " small_rng " ] }
12
12
rand_chacha = " 0.3"
13
13
criterion = { version = " 0.3" , features = [" html_reports" ] }
14
14
bevy_app = { path = " ../crates/bevy_app" }
15
+ bevy_core_pipeline = { path = " ../crates/bevy_core_pipeline" }
15
16
bevy_ecs = { path = " ../crates/bevy_ecs" , features = [" multi-threaded" ] }
17
+ bevy_hierarchy = { path = " ../crates/bevy_hierarchy" }
18
+ bevy_log = { path = " ../crates/bevy_log" }
16
19
bevy_reflect = { path = " ../crates/bevy_reflect" }
17
20
bevy_tasks = { path = " ../crates/bevy_tasks" }
21
+ bevy_time = { path = " ../crates/bevy_time" }
22
+ bevy_transform = { path = " ../crates/bevy_transform" }
18
23
bevy_utils = { path = " ../crates/bevy_utils" }
19
24
bevy_math = { path = " ../crates/bevy_math" }
20
25
@@ -27,6 +32,11 @@ name = "change_detection"
27
32
path = " benches/bevy_ecs/change_detection.rs"
28
33
harness = false
29
34
35
+ [[bench ]]
36
+ name = " transform_hierarchy"
37
+ path = " benches/bevy_transform/benches.rs"
38
+ harness = false
39
+
30
40
[[bench ]]
31
41
name = " ecs"
32
42
path = " benches/bevy_ecs/benches.rs"
Original file line number Diff line number Diff line change
1
+ use criterion:: criterion_main;
2
+
3
+ mod transform_hierarchy;
4
+
5
+ criterion_main ! (
6
+ transform_hierarchy:: transform_hierarchy_benches,
7
+ ) ;
You can’t perform that action at this time.
0 commit comments