Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.26 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.26 KB

Installation

Usage

You can execute the run.rb script to run the test passing the log file name by argument.

ruby run.rb glibc.log
MALLOC_ARENA_MAX=2 ruby run.rb glibc-arena-2.log
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 ruby run.rb jemalloc-3-6.log

Benchmark

ruby run.rb log/glibc-arena-default.log
MALLOC_ARENA_MAX=2 ruby run.rb log/glibc-2-23-arena-2.log
MALLOC_ARENA_MAX=4 ruby run.rb log/glibc-2-23-arena-4.log
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 ruby run.rb log/jemalloc-3-6.log
LD_PRELOAD=/home/linuxbrew/.linuxbrew/Cellar/jemalloc/5.1.0/lib/libjemalloc.so ruby run.rb log/jemalloc-5-1-arena-default.log
LD_PRELOAD=/home/linuxbrew/.linuxbrew/Cellar/jemalloc/5.1.0/lib/libjemalloc.so MALLOC_CONF=narenas:2 ruby run.rb log/jemalloc-5-1-arena-2.log
LD_PRELOAD=/home/linuxbrew/.linuxbrew/Cellar/jemalloc/5.1.0/lib/libjemalloc.so MALLOC_CONF=narenas:4 ruby run.rb log/jemalloc-5-1-arena-4.log
LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4.2.6 ruby run.rb log/tcmalloc.log