jonascarpay / apecs

a fast, extensible, type driven Haskell ECS framework for games
391 stars 43 forks source link

Please enhance Benchmark Comparison chart #89

Open Abastro opened 2 years ago

Abastro commented 2 years ago

Hello, I ran into this library after browsing random projects. I noticed this part:

Fast - Performance is competitive with Rust ECS libraries (see benchmark results below)

However, I cannot find the benchmark results compared to an actual Rust ECS library. Where is it? Without it, I (and likely many others) cannot help doubting the "competitive performance" part.

jonascarpay commented 2 years ago

What do you mean, do you mean you don't see the graph or that the graph needs more explanation?

Abastro commented 2 years ago

Oh wait, I realized the caption below now.. Sorry for bothering you. The result is unbelievably good! Could you show the test cases and criterias for the benchmark? Giving more information about the chart would be great. I had hard time spotting what the chart means.

avh4 commented 1 year ago

Is the code for the Rust benchmark programs available somewhere? I'd be interested in porting the benchmark to https://bevyengine.org/ to see that comparison as well.

jonascarpay commented 1 year ago

I used https://github.com/lschmierer/ecs_bench at the time. If you know of/find something more recent I'd be interested.

metiulekm commented 1 year ago

It seems that https://github.com/rust-gamedev/ecs_bench_suite is the most recent thing, though it has been abandoned and archived since then. It does have a benchmark for Bevy 0.5, which could be a starting point, and here's a fork that seems to have Bevy 0.9 https://github.com/recatek/ecs_bench_suite I hadn't tried to run any of these though, were just looking around.