From c54cedf14beb0536d01c111bd3337e4150f1d149 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 18 Apr 2018 16:16:15 +0200 Subject: [PATCH] readme: updated benchmarks --- README.md | 2 +- TODO | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 381c0de9c..f034dcfce 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,7 @@ Dell XPS 13 out of the mid 2014): | Benchmark | EntityX (compile-time) | EnTT | |-----------|-------------|-------------| | Create 1M entities | 0.0147s | **0.0046s** | -| Destroy 1M entities | 0.0053s | **0.0048s** | +| Destroy 1M entities | 0.0053s | **0.0049s** | | 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
Half of the entities have all the components | 0.0009s | **3.8e-07s** | diff --git a/TODO b/TODO index f79067e86..42dcde4ba 100644 --- a/TODO +++ b/TODO @@ -8,8 +8,5 @@ * does it worth it to add an optional functor to the member functions of snapshot so as to filter out instances and entities? * ease the assignment of tags as string (use a template class with a non-type template parameter behind the scene) * dictionary based dependency class (templates copied over) + prefabs (shared state/copy-on-write) -* update benchmarks, destroy is probably slower now because of signals on components/tags * "singleton mode" for tags (see #66) -* introduce a fast destroy that doesn't check for components or tags (it does it only in debug) and discards the entity immediately (use it with snapshot orphans) -* http://ics.upjs.sk/~krajci/skola/ine/SVK/pdf/Majerech.pdf * AOB