Home

Awesome

ECS Benchmark

It's just simple benchmark of 4 JS/TS ECS frameworks:

Scenarios

I tried to create life-like scenarios:

  1. Repeatedly create entities and update systems
  2. Repeatedly create/delete entities and update systems
  3. Repeatedly create/delete entities, remove components from them and update systems

Each scenario operates on 4000 entities, 4 components and 3 systems.

Results

perform-ecsyagltiny-ecsmakr
Scenario 143ms242ms64ms208ms
Scenario 227ms142ms98ms109ms
Scenario 323ms184ms80ms79ms

In all scenarios perform-ecs is the fastest framework.

How to run

Clone and: npm i && npm start

If you have idea for new framework to add feel free to create issue.