Fulcrum/config.tests/jemalloc/test.pro
Axel Gembe dd5dc4a242
Build: Add test for jemalloc and link it if found
Jemalloc is better suited for the memory usage pattern of Fulcrum,
which is allocating/freeing lots of random sized buffers from multiple
threads, resulting in lots of fragmentation.

Jemalloc is a general purpose malloc(3) implementation that emphasizes
fragmentation avoidance and scalable concurrency support.
2020-08-26 18:01:59 +07:00

3 lines
65 B
Prolog

SOURCES = main.cpp
LIBS += -ljemalloc
DEFINES += JEMALLOC_MANGLE