Skip to content

Commit

Permalink
Merge branch 'master' into experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Mar 14, 2018
2 parents 3bb1b78 + 83b55f8 commit b495da7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Dell XPS 13 out of the mid 2014):
| Benchmark | EntityX (compile-time) | EnTT |
|-----------|-------------|-------------|
| Create 1M entities | 0.0167s | **0.0046s** |
| Destroy 1M entities | 0.0053s | **2.8e-06s** |
| Destroy 1M entities | 0.0053s | **0.0039s** |
| Standard view, 1M entities, one component | 0.0012s | **1.9e-07s** |
| Standard view, 1M entities, two components | 0.0012s | **3.8e-07s** |
| Standard view, 1M entities, two components<br/>Half of the entities have all the components | 0.0009s | **3.8e-07s** |
Expand Down
4 changes: 2 additions & 2 deletions test/benchmark/benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ TEST(Benchmark, Destroy) {

Timer timer;

for(auto entity: registry.view<int>()) {
registry.each([&registry](auto entity) {
registry.destroy(entity);
}
});

timer.elapsed();
}
Expand Down

0 comments on commit b495da7

Please sign in to comment.