Readme.md 885 Bytes
Newer Older
Florian Fischer's avatar
Florian Fischer committed
1
2
# allocbench - benchmark tool for memory allocators

3
4
to download allocbench just run

Florian Fischer's avatar
Florian Fischer committed
5
6
7
8
9
10
```shell
git clone https://muhq.space/software/allocbench.git
```

## Usage

Florian Fischer's avatar
Florian Fischer committed
11
	usage: bench.py [-h] [-s] [-l] [-r RUNS] [-v] [-b BENCHMARKS [BENCHMARKS ...]]
Florian Fischer's avatar
Florian Fischer committed
12
	                [-ns] [-sd SUMMARYDIR] [-a]
Florian Fischer's avatar
Florian Fischer committed
13
14
15
16
17
18
19
20
21
22

	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 ...]
Florian Fischer's avatar
Florian Fischer committed
23
24
25
26
27
	  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