Skip to content
This repository was archived by the owner on Nov 27, 2022. It is now read-only.
This repository was archived by the owner on Nov 27, 2022. It is now read-only.

Consider revising "Simple Insert" #11

Open
@kettle11

Description

@kettle11

"Simple Insert" seems to test a scenario that is very rare outside of benchmarks, and yet can uniquely optimized for in a benchmark.

How often will anyone initialize 10,000 entities with exactly the same data? It seems far more common to initialize entities with slight variations. This benchmark favors ECS libraries that implement a specific function: "initialize the exact same thing a ton of times", and the benchmark will encourage other ECS libraries to do the same.

A more useful benchmark might be to add 10,000 entities with the position incremented by 1 for each entity. This would test something closer to real world scenarios, and not encourage a unique (but mostly useful for benchmarks) fast path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions