Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you add benchmark to my ECS? #16

Open
dreaw131313 opened this issue Jan 15, 2024 · 3 comments
Open

Can you add benchmark to my ECS? #16

dreaw131313 opened this issue Jan 15, 2024 · 3 comments

Comments

@dreaw131313
Copy link

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
Copy link
Owner

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
Copy link
Owner

abeimler commented Feb 21, 2024

For Reference 4dbc52d - Outdated, see development (#21)

@dreaw131313
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants