Kaynağa Gözat

removed tests with 50M entities (jenkins gives up with them)

Michele Caini 8 yıl önce
ebeveyn
işleme
c426a8e331
2 değiştirilmiş dosya ile 0 ekleme ve 71 silme
  1. 0 3
      README.md
  2. 0 68
      test/entt/entity/benchmark.cpp

+ 0 - 3
README.md

@@ -96,9 +96,6 @@ Dell XPS 13 out of the mid 2014):
 | Iterating over 10M entities, unpacking ten components, standard view, half of the entities have all the components | **0.00899859s** | 0.200752s |
 | Iterating over 10M entities, unpacking ten components, standard view, one of the entities has all the components | 0.00700349s | **2.565e-06s** |
 | Iterating over 10M entities, unpacking ten components, persistent view | 0.0104708s | **6.23e-07s** |
-| Iterating over 50M entities, unpacking one component, standard view | 0.055194s | **2.87e-07s** |
-| Iterating over 50M entities, unpacking two components, standard view | **0.0533921s** | 0.243197s |
-| Iterating over 50M entities, unpacking two components, persistent view | 0.055194s | **4.47e-07s** |
 | Sort 150k entities, one component | - | **0.0080046s** |
 | Sort 150k entities, match two components | - | **0.00608322s** |
 

+ 0 - 68
test/entt/entity/benchmark.cpp

@@ -253,74 +253,6 @@ TEST(DefaultRegistry, IterateTwoComponentsPersistent10MOne) {
     timer.elapsed();
 }
 
-TEST(DefaultRegistry, IterateSingleComponent50M) {
-    entt::Registry<std::uint64_t> registry;
-
-    std::cout << "Iterating over 50000000 entities, one component" << std::endl;
-
-    for (uint64_t i = 0; i < 50000000L; i++) {
-        registry.create<Position>();
-    }
-
-    Timer timer;
-
-    auto view = registry.view<Position>();
-
-    for(auto entity: view) {
-        auto &position = view.get(entity);
-        (void)position;
-    }
-
-    timer.elapsed();
-}
-
-TEST(DefaultRegistry, IterateTwoComponents50M) {
-    entt::Registry<std::uint64_t> registry;
-
-    std::cout << "Iterating over 50000000 entities, two components" << std::endl;
-
-    for (uint64_t i = 0; i < 50000000L; i++) {
-        registry.create<Position, Velocity>();
-    }
-
-    Timer timer;
-
-    auto view = registry.view<Position, Velocity>();
-
-    for(auto entity: view) {
-        auto &position = view.get<Position>(entity);
-        auto &velocity = view.get<Velocity>(entity);
-        (void)position;
-        (void)velocity;
-    }
-
-    timer.elapsed();
-}
-
-TEST(DefaultRegistry, IterateTwoComponentsPersistent50M) {
-    entt::Registry<std::uint64_t> registry;
-    registry.prepare<Position, Velocity>();
-
-    std::cout << "Iterating over 50000000 entities, two components, persistent view" << std::endl;
-
-    for (uint64_t i = 0; i < 50000000L; i++) {
-        registry.create<Position, Velocity>();
-    }
-
-    Timer timer;
-
-    auto view = registry.persistent<Position, Velocity>();
-
-    for(auto entity: view) {
-        auto &position = view.get<Position>(entity);
-        auto &velocity = view.get<Velocity>(entity);
-        (void)position;
-        (void)velocity;
-    }
-
-    timer.elapsed();
-}
-
 TEST(DefaultRegistry, IterateFiveComponents10M) {
     entt::DefaultRegistry registry;