ordo-one / package-benchmark

Swift benchmark runner with many performance metrics and great CI support
Apache License 2.0
326 stars 25 forks source link

feat: Make it possible to build and run without jemalloc available #127

Closed hassila closed 1 year ago

hassila commented 1 year ago

Description

Some platforms doesn't have jemalloc available and it'd be nice to be able to use benchmark without the malloc counters there.

Fixes #15 and Fixes #60 (sort of)

To run test suite on macOS without crash you can now use: BENCHMARK_DISABLE_JEMALLOC=1 swift test

To run benchmarks without jemalloc installed:

BENCHMARK_DISABLE_JEMALLOC=1 swift package benchmark

How Has This Been Tested?

Manually tested with jemalloc installed/uninstalled.

Minimal checklist:

github-actions[bot] commented 1 year ago

Pull request benchmark comparison [ubuntu-latest] with 'main' run at 2023-03-22T16:08:34+00:00 Pull request had performance regressions

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.2.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: