abeimler / ecs_benchmark

Benchmarks of common ECS (Entity-Component-System)-Frameworks in C++ (or C)
MIT License
220 stars 14 forks source link

Can you add benchmark to my ECS? #16

Open dreaw131313 opened 10 months ago

dreaw131313 commented 10 months ago

Hi! I wrote and continue upgrading my own ecs library. Can you add it to your benchmark? Or should I preapare benchmark and send it to you?

ECS library - https://github.com/dreaw131313/Dreaw-Entity-Component-System

abeimler commented 10 months ago

Hello, yes of course you can add the library, you need can make an PR. As far as I see you also need to add CMake into your Project, cuz I use cpmaddpackage to add 3rd-party libraries.

I don't really have a "tutorial" for adding libraries ^^ You need to implement some features and classes:

You can have a look at flecs or entt for example.

After making your ecs-benchmark-example-decs library, you can add the benchmark in benchmark/. You need to add 3 (sub) projects: decs, decs-entities and decs-extended. Use the base benchmark Suit ecs::benchmarks::base::ECSBenchmark and use your classes in the Suit (see example).

abeimler commented 8 months ago

For Reference 4dbc52d - Outdated, see development (https://github.com/abeimler/ecs_benchmark/pull/21)

dreaw131313 commented 8 months ago

@abeimler Thank you for the reference. I just haven't had time to implement this in the last few weeks, but I hope to do so in the near future