Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve C++ SDK perf 5x by respecting CMAKE_BUILD_TYPE and enabling m…
…imalloc (#4094) ### What - Resolves: #4093 Arrow was default to a Debug build regardless of what CMAKE_BUILD_TYPE was specified. Baseline: ``` $ time RERUN=on ./build/rerun_vrs_example sample.vrs real 0m15.105s user 0m16.409s sys 0m2.981s ``` `CMAKE_BUILD_TYPE=RelWithDebInfo` ``` $ time RERUN=on ./build/rerun_vrs_example sample.vrs real 0m4.659s user 0m5.259s sys 0m2.257s ``` `-DARROW_MIMALLOC=ON` ``` $ time RERUN=on ./build/rerun_vrs_example sample.vrs real 0m3.477s user 0m5.015s sys 0m1.291s ``` ### Test * [x] Linux * [x] Mac * [x] Windows, rerun build & test only ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested [demo.rerun.io](https://demo.rerun.io/pr/4094) (if applicable) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG - [PR Build Summary](https://build.rerun.io/pr/4094) - [Docs preview](https://rerun.io/preview/73f97330c4d4e8cbac82e7e0c0ea7e9d24fcd3c7/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/73f97330c4d4e8cbac82e7e0c0ea7e9d24fcd3c7/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://ref.rerun.io/dev/bench/) - [Wasm size tracking](https://ref.rerun.io/dev/sizes/) --------- Co-authored-by: Andreas Reich <[email protected]>
- Loading branch information