]> sourceware.org Git - glibc.git/commit
Add malloc micro benchmark
authorWilco Dijkstra <wdijkstr@arm.com>
Thu, 14 Feb 2019 16:37:11 +0000 (16:37 +0000)
committerWilco Dijkstra <wdijkstr@arm.com>
Thu, 14 Feb 2019 16:37:11 +0000 (16:37 +0000)
commit3904fd85d3fdf0573e9a1e12e32bcd8cb246f549
treedd634a8a3a5c2fc316f203fafe64001f52e98172
parent24ca04febef611ad942ad5ebe3a3c7011b10c550
Add malloc micro benchmark

Add a malloc micro benchmark to enable accurate testing of the
various paths in malloc and free.  The benchmark does a varying
number of allocations of a given block size, then frees them again.

It tests 3 different scenarios: single-threaded using main arena,
multi-threaded using thread-arena, main arena with SINGLE_THREAD_P
false.

* benchtests/Makefile: Add malloc-simple benchmark.
* benchtests/bench-malloc-simple.c: New benchmark.
ChangeLog
benchtests/Makefile
This page took 0.0483 seconds and 5 git commands to generate.