Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrumentation Ideas/Draft #163

Open
3 of 6 tasks
hmans opened this issue Oct 3, 2022 · 1 comment
Open
3 of 6 tasks

Instrumentation Ideas/Draft #163

hmans opened this issue Oct 3, 2022 · 1 comment
Assignees

Comments

@hmans
Copy link
Owner

hmans commented Oct 3, 2022

I'm working on a Miniplex world inspector for my game:

Screen.Recording.2022-10-03.at.21.26.08.mov

It would be great to add some instrumentation features to Miniplex' World class to make it easier for tools like this to get useful instrumentation data.

Things that might be nice to measure:

  • Total number of entities
  • Total number of archetypes
  • Components of individual archetypes
  • Number of active subscribers on each archetype
  • Archetype "pressure" (rate of entities added or removed). This can be useful to identify archetypes that aren't really used much (but still infer an indexing cost every time an entity is added/removed/modified.)
  • Average time needed to add/index/remove entities
@hmans hmans added this to the Miniplex 1.1.0 milestone Oct 3, 2022
@hmans hmans self-assigned this Oct 3, 2022
@verekia
Copy link
Contributor

verekia commented Oct 4, 2022

Ideas:

  • Making the numbers flash green or red as they increase / decrease. Or even better, some temporary "+3" or "-2".
  • Making it possible to see the entities details. That might not work great for archetypes that have a lot of very quickly added/removed entities, but it would be very useful to inspect more stable ones.

@hmans hmans modified the milestones: Miniplex 1.1.0, Miniplex 2.0.0 Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants