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

Optimisations and benchmarking #6

Merged
merged 3 commits into from Aug 14, 2023
Merged

Optimisations and benchmarking #6

merged 3 commits into from Aug 14, 2023

Commits on Aug 14, 2023

  1. Make the entity manager a task

    Simplifies the entity manager by flattening it into an async function. Entity managers are not shared, so this approach seems more reasonable. Spawning the task is then left to the discretion of the caller, which then becomes more direct and comprehensible. We also get the slight optimisation of one less spawn and its associated allocations.
    huntc committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    5550fcd View commit details
    Browse the repository at this point in the history
  2. Benchmarks and optimisations

    Measures the time taken to produce 10K events and process them.
    huntc committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    58ffb69 View commit details
    Browse the repository at this point in the history
  3. Use small strings for entities and ref count secret paths

    Speeds things up considerably
    huntc committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    88c657f View commit details
    Browse the repository at this point in the history