Skip to content

Commit a2a8c30

Browse files
committed
update benchmark results
1 parent 59c52e7 commit a2a8c30

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ The performance of trait queries is quite competitive. Here are some benchmarks
137137

138138
| | Concrete type | One<dyn Trait> | All<dyn Trait> |
139139
|-------------------|----------------|-------------------|-----------------|
140-
| 1 match | 16.135 µs | 31.441 µs | 63.273 µs |
141-
| 2 matches | 17.501 µs | - | 102.83 µs |
142-
| 1-2 matches | - | 16.959 µs | 82.179 µs |
140+
| 1 match | 8.395 µs | 28.174 µs | 81.027 µs |
141+
| 2 matches | 8.473 µs | - | 106.47 µs |
142+
| 1-2 matches | - | 14.619 µs | 92.876 µs |
143143

144144
<!-- cargo-rdme end -->
145145

bevy-trait-query/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,11 @@
245245
//!
246246
//! The performance of trait queries is quite competitive. Here are some benchmarks for simple cases:
247247
//!
248-
//! | | Concrete type | One<dyn Trait> | All<dyn Trait> |
248+
//! | | Concrete type | One<dyn Trait> | All<dyn Trait> |
249249
//! |-------------------|----------------|-------------------|-----------------|
250-
//! | 1 match | 16.135 µs | 31.441 µs | 63.273 µs |
251-
//! | 2 matches | 17.501 µs | - | 102.83 µs |
252-
//! | 1-2 matches | - | 16.959 µs | 82.179 µs |
250+
//! | 1 match | 8.395 µs | 28.174 µs | 81.027 µs |
251+
//! | 2 matches | 8.473 µs | - | 106.47 µs |
252+
//! | 1-2 matches | - | 14.619 µs | 92.876 µs |
253253
//!
254254
255255
use bevy_ecs::{

0 commit comments

Comments
 (0)