https://github.com/rustyx/jemalloc-win32-demo
https://github.com/rustyx/jemalloc-win32-demo
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/rustyx/jemalloc-win32-demo
- Owner: rustyx
- License: unlicense
- Created: 2017-05-04T07:54:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-04T10:47:22.000Z (about 9 years ago)
- Last Synced: 2025-01-24T14:38:54.838Z (over 1 year ago)
- Language: C++
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jemalloc Windows demo
This is a demo project for redirecting C++ `new` and `delete` operators to jemalloc, bypassing the Windows heap.
It demonstrates that:
1. jemalloc on Windows 64-bit is faster than the Windows heap.
2. jemalloc on Windows 32-bit is NOT faster and runs out of memory, so is probably a bad idea to use on 32-bit.
Build prerequisites:
* Cygwin with autoconf and autogen (cygwin/bin folder must be on the PATH)
* Git (must be on the PATH)
Run build-jemalloc.cmd to build the jemalloc (static) library.
Once built, compare the performance of `Release | x64` with `Release-jemalloc | x64` (i.e. with and without jemalloc).