Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Florian Fischer
allocbench
Commits
cf7f1bb4
Commit
cf7f1bb4
authored
Mar 05, 2019
by
Florian Fischer
Browse files
update Readme
parent
89a316bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Readme.md
View file @
cf7f1bb4
...
...
@@ -16,20 +16,22 @@ git clone https://muhq.space/software/allocbench.git
## Usage
usage: bench.py [-h] [-
s
] [-l LOAD] [-a ALLOCATORS] [-r RUNS]
[-v]
[-b BENCHMARKS [BENCHMARKS ...]] [-ns]
[-rd RESULTDIR]
[--license]
usage: bench.py [-h] [-
ds, --dont-save
] [-l LOAD] [-a ALLOCATORS] [-r RUNS]
[-v] [-vdebug]
[-b BENCHMARKS [BENCHMARKS ...]] [-ns]
[-rd RESULTDIR]
[--license]
benchmark memory allocators
optional arguments:
-h, --help show this help message and exit
-s, --save
save benchmark results in RESULTDIR
-
d
s, --
dont-
save
don't
save benchmark results in RESULTDIR
-l LOAD, --load LOAD load benchmark results from directory
-a ALLOCATORS, --allocators ALLOCATORS
load allocator definitions from file
-r RUNS, --runs RUNS how often the benchmarks run
-v, --verbose more output
-vdebug, --verbose-debug
debug output
-b BENCHMARKS [BENCHMARKS ...], --benchmarks BENCHMARKS [BENCHMARKS ...]
benchmarks to run
-ns, --nosum don't produce plots
...
...
doc/Benchmarks.md
View file @
cf7f1bb4
...
...
@@ -4,7 +4,7 @@ A benchmark in the context of allocbench is a command usable with exec and a
list of all possible arguments. The command is executed and measured for each
permutation of the specified arguments and for each allocator to test.
Benchmarks are implemented as python objects that have a function
`run(runs
, verbose
)`
.
Benchmarks are implemented as python objects that have a function
`run(runs)`
.
Other non mandatory functions are:
*
load
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment