about summary refs log tree commit diff
path: root/iconvdata/hp-thai8.c
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2013-09-11 15:47:12 +0100
committerWill Newton <will.newton@linaro.org>2014-11-05 14:13:00 +0000
commitb01ee67cb5860d70e5a88af3c25b44d1ecaf0579 (patch)
treed321a77c0c5f62eb965785a608622d6149edf9fb /iconvdata/hp-thai8.c
parentbe9d4ccc7fe62751db1a5fdcb31958561dbbda9a (diff)
downloadglibc-b01ee67cb5860d70e5a88af3c25b44d1ecaf0579.tar.gz
glibc-b01ee67cb5860d70e5a88af3c25b44d1ecaf0579.tar.xz
glibc-b01ee67cb5860d70e5a88af3c25b44d1ecaf0579.zip
benchtests: Add malloc microbenchmark
Add a microbenchmark for measuring malloc and free performance with
varying numbers of threads. The benchmark allocates and frees buffers
of random sizes in a random order and measures the overall execution
time and RSS. Variants of the benchmark are run with 1, 8, 16 and
32 threads.

The random block sizes used follow an inverse square distribution
which is intended to mimic the behaviour of real applications which
tend to allocate many more small blocks than large ones.

ChangeLog:

2014-11-05  Will Newton  <will.newton@linaro.org>

	* benchtests/Makefile: (bench-malloc): Add malloc thread
	scalability benchmark.
	* benchtests/bench-malloc-threads.c: New file.
Diffstat (limited to 'iconvdata/hp-thai8.c')
0 files changed, 0 insertions, 0 deletions