Skip to content
This repository was archived by the owner on Nov 27, 2022. It is now read-only.

Commit 4c1687f

Browse files
authored
Merge pull request #7 from 17cupsofcoffee/patch-1
Clarify README table
2 parents b459450 + 174ccf3 commit 4c1687f

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

readme.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ A suite of benchmarks designed to test and compare Rust ECS library performance
44

55
The full benchmark report is available [here](https://rust-gamedev.github.io/ecs_bench_suite/target/criterion/report/index.html).
66

7-
| | legion (\*) | legion 0.2.4 | bevy | hecs | shipyard (\*) | specs |
8-
|------------------|:-------------------:|:------------:|:--------:|:-------:|:---------------------:|:-----------:|
9-
| simple_insert | **0.434ms** | 1.06ms | 0.865ms | 0.645ms | 2.49ms | 2.32ms |
10-
| simple_iter | **13.4us** (16.6us) | **13.4us** | *14.4us* | 26.7us | 110us (45.6us) | 34.3ms |
11-
| frag_iter | **0.509us** | 1.78us | 1.76us | 1.79us | 1.04us | 1.67us |
12-
| heavy_compute | *0.701ms* (0.723ms) | 4.34ms | 1.06ms | 1.02ms | 0.778ms (**0.700ms**) | 0.995ms |
13-
| schedule | **52.3us** (53.7us) | 151us | 94.9us | - | 580us (307us) | 244us |
14-
| add_remove | 5.50ms | 3.07ms | - | 18.2ms | 2.90ms | **0.148ms** |
15-
| serialize_text | **17.9ms** | - | - | - | - | - |
16-
| serialize_binary | **6.42ms** | - | - | - | - | - |
17-
18-
(*): Per-benchmark storage optimizations. Some of these are mutually exclusive, so with and without "packing" typically represent best and worst-case performance for the ECS.
19-
20-
Note: Run to run variance for these benchmarks is typically 2-3%, with outliers as much as 10%. All micro-benchmarks should be taken with a grain of salt, and any benchmarks within a few percent of each other should be considered "effectively equal".
7+
| | legion (\*) | legion 0.2.4 | bevy | hecs | shipyard (\*) | specs |
8+
|------------------|:---------------------:|:------------:|:----------:|:-------:|:---------------------:|:-----------:|
9+
| simple_insert | **0.434ms** | 1.06ms | 0.865ms | 0.645ms | 2.49ms | 2.32ms |
10+
| simple_iter | **13.4us** (16.6us) | **13.4us** | **14.4us** | 26.7us | 110us (45.6us) | 34.3ms |
11+
| frag_iter | **0.509us** | 1.78us | 1.76us | 1.79us | 1.04us | 1.67us |
12+
| heavy_compute | **0.701ms** (0.723ms) | 4.34ms | 1.06ms | 1.02ms | 0.778ms (**0.700ms**) | 0.995ms |
13+
| schedule | **52.3us** (53.7us) | 151us | 94.9us | - | 580us (307us) | 244us |
14+
| add_remove | 5.50ms | 3.07ms | - | 18.2ms | 2.90ms | **0.148ms** |
15+
| serialize_text | **17.9ms** | - | - | - | - | - |
16+
| serialize_binary | **6.42ms** | - | - | - | - | - |
17+
18+
(*): The values in parentheses are results where per-benchmark storage optimizations were applied. Some of these are mutually exclusive, so with and without "packing" typically represent best and worst-case performance for the ECS.
19+
20+
The best result for each benchmark is marked in bold text. Note that run to run variance for these benchmarks is typically 2-3%, with outliers as much as 10%. All micro-benchmarks should be taken with a grain of salt, and any benchmarks within a few percent of each other should be considered "effectively equal".
2121

2222
## The Benchmarks
2323

0 commit comments

Comments
 (0)