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

Use mimalloc Memory Allocator & Extend Benchmarks with Different Memory Allocators #2122

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Nov 5, 2024

  1. Use mimalloc memory allocator in app & benchmarks

    * `mimalloc` provided better performance on both benchmarks and in while
      the app is running (Performance gain is about 9%)
    * Allocator can be set in one place only for the app, therefore we set
      it rs-bindings for chipmunk and set it for each benchmark separately
    AmmarAbouZor committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    545542c View commit details
    Browse the repository at this point in the history
  2. Macro to run mock benchmarks with multi allocators

    * Creates a macro to run the mock once benchmarks with the given allocator
    * jemalloc allocator dependency added.
    * Add extra benchmarks for jemalloc and standard allocators along side
      with the currently used mimalloc allocator
    * Adjustment for bench file in Build CLI Tool
    * Documentation
    AmmarAbouZor committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    f41ba5e View commit details
    Browse the repository at this point in the history
  3. Bench mocks many values with various allocators

    * Creates a macro to run the mock multi benchmarks with the given allocator
    * Add extra benchmarks for jemalloc and standard allocators along side
      with the currently used mimalloc allocator
    * Adjustment for bench file in Build CLI Tool
    * Documentation
    AmmarAbouZor committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    4fbb2c0 View commit details
    Browse the repository at this point in the history
  4. Temporary Commit: Benchmarks at runtime

    * Add basic benchmarks to run while Chipmunk App is parsing a DLT file
      to measure the changes on different platform
    * This commit must be dropped before merging the PR
    AmmarAbouZor committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    364a2b8 View commit details
    Browse the repository at this point in the history
  5. Remove jemalloc allocator benchmarks

    `jemalloc` support on windows is not stable yet.
    AmmarAbouZor committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    cd421e8 View commit details
    Browse the repository at this point in the history