ecs_benchmark icon indicating copy to clipboard operation
ecs_benchmark copied to clipboard

Can you add benchmark to my ECS?

Open dreaw131313 opened this issue 1 year ago • 3 comments

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

dreaw131313 avatar Jan 15 '24 21:01 dreaw131313

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 avatar Jan 18 '24 10:01 abeimler

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

abeimler avatar Feb 21 '24 11:02 abeimler

@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

dreaw131313 avatar Feb 21 '24 11:02 dreaw131313