amethyst / specs

Specs - Parallel ECS
https://amethyst.github.io/specs/
Apache License 2.0
2.49k stars 219 forks source link

ecs_bench_suite fragmented_iter unexpectedly slow #759

Open fabianbergmark opened 2 years ago

fabianbergmark commented 2 years ago

Looking at the results in https://github.com/rust-gamedev/ecs_bench_suite, I'm surprised to see that Specs performs rather poorly in the fragmented_iter benchmark. IIUC, the Data-component uses VecStorage, and iterating over all Data-values should be a fairly quick for Specs?