Readme.md 1.12 KB
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] [--nolibmemusage]
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
	                        benchmarks to run
Florian Fischer's avatar
Florian Fischer committed
24
25
	  -ns, --nosum          don't produce plots
	  -sd SUMMARYDIR, --summarydir SUMMARYDIR
Florian Fischer's avatar
Florian Fischer committed
26
	                        directory where all plots and the summary go
Florian Fischer's avatar
Florian Fischer committed
27
	  -a, --analyse         collect allocation sizes
Florian Fischer's avatar
Florian Fischer committed
28
29
	  --nolibmemusage       don't use libmemusage to analyse

Florian Fischer's avatar
add GPL    
Florian Fischer committed
30
31
32
33
## License

This program is released under GPLv3. You can find a copy of the license
in the LICENSE file in the programs root directory.