Git Product home page Git Product logo

ecs_bench's People

Contributors

aceeri avatar brendanzab avatar csherratt avatar jakerr avatar kvark avatar lschmierer avatar rcolinray avatar rsaarelm avatar torkleyy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ecs_bench's Issues

Benchmark memory consumption

I'm interested in seeing memory consumption of the different frameworks. I'm curious how much overhead the data structures are adding. It seems for use cases other than sequential access, additional index structures would need to be added. Or e.g. for archetype iteration.

I haven't used an ECS in my own practice (still evaluating), so forgive my naivety if these overheads are not relevant.

Improve benchmark scenarios

While the benchmarks can show a rough difference, they're very far from real-world and they favor some approaches more than others I think. One point which should be improved for example is the "rendering" in the pos_vel benchmarks, because there's no code executed. I think it would also be great to have a benchmark with more systems than two.

I hope we can collect some ideas here and work out detailed specifications what the benchmarks should do. Additionally, we may consider removing libraries which aren't maintained anymore (except they're complete, of course).

Real sparse components

Currently, in a pos-vel bench, we have N entities with both followed by M entities with only the position. This setup doesn't really favour any compromises other than simple linear vectors. I suggest inserting a pos-vel entity after each K pos-only entities (say, K=9).

This would highlight the differences between hash maps, vectors, and dense vectors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.