Git Product home page Git Product logo

ecs_bench's Introduction

Benchmarks of various Rust Entity Component Systems

Notes:

  • if a bench is written in the idiomatic way for an ECS, please let me know
  • there will be more benches added soon
  • the old parallel benches have been removed for now
  • some older ECS that have not seen maintenance in over 3+ years are removed

Benchmarks

Benchmarks are run on Travis CI.

Benchmarks are located in benches/[bench_name]_[ecs_crate_name].rs.

Library pos_vel build pos_vel update
legion 538 µs/iter (+/- 83) 1 µs/iter (+/- 0)
tiny_ecs 290 µs/iter (+/- 9) 10 µs/iter (+/- 0)
hecs 375 µs/iter (+/- 34) 4 µs/iter (+/- 0)
specs 319 µs/iter (+/- 27) 3 µs/iter (+/- 0)
froggy 307 µs/iter (+/- 10) 9 µs/iter (+/- 0)
constellation 226 µs/iter (+/- 29) 6 µs/iter (+/- 0)

Visualization of benchmarks, smaller is better. update benchmarks graph build benchmarks graph

pos_vel

  • 1000 entities with position and velocity components
  • 9000 entities with position components only
  • stub render system
  • physics system: position += velocity

Notes

  • the benchmarks explore a limited subset of ECS use-cases and do not necessarily reflect the performance of large-scale applications
  • froggy is technically not an ECS, but a Component Graph System (CGS)

ecs_bench's People

Contributors

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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cupnfish

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.