aboutsummaryrefslogtreecommitdiff
path: root/Readme.md
blob: 856deaf22e4c49f6ffb818dc9154995c388a7403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# allocbench - benchmark tool for memory allocators

to download allocbench just run

```shell
git clone https://muhq.space/software/allocbench.git
```

## Usage

	usage: bench.py [-h] [-s] [-l] [-r RUNS] [-v] [-b BENCHMARKS [BENCHMARKS ...]]
	                [-ns] [-sd SUMMARYDIR] [-a] [--nolibmemusage]

	benchmark memory allocators

	optional arguments:
	  -h, --help            show this help message and exit
	  -s, --save            save benchmark results to disk
	  -l, --load            load benchmark results from disk
	  -r RUNS, --runs RUNS  how often the benchmarks run
	  -v, --verbose         more output
	  -b BENCHMARKS [BENCHMARKS ...], --benchmarks BENCHMARKS [BENCHMARKS ...]
	                        benchmarks to run
	  -ns, --nosum          don't produce plots
	  -sd SUMMARYDIR, --summarydir SUMMARYDIR
	                        directory where all plots and the summary go
	  -a, --analyse         collect allocation sizes
	  --nolibmemusage       don't use libmemusage to analyse