libc-bench: add recipe

libc-bench is a set of time- and memory-efficiency tests to compare
implementations of various C/POSIX standard library functions.

Coverage includes:
- Malloc throughput with varying degrees and forms of contention between
  threads.
- Malloc overhead and ability to return freed memory to the OS.
- Literal string and regular expression searches.
- Thread creation and joining throughput.
- UTF-8 decoding.
- Stdio buffered reads and writes.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Ming Liu
2017-11-15 15:41:16 +01:00
committed by Armin Kuster
parent 6363c0d0ee
commit dafa2929e1
@@ -0,0 +1,17 @@
SUMMARY = "Tests to compare standard functions of different libc implementations"
DESCRIPTION = "libc-bench is a set of time- and memory-efficiency tests to compare \
implementations of various C/POSIX standard library functions."
HOMEPAGE = "http://www.etalabs.net/libc-bench.html"
SECTION = "console/utils"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://Makefile;md5=e12f113da27dfe9cfb6c2c537da8d8df"
SRC_URI = "http://www.etalabs.net/releases/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "f763de90f95fe68e4e03e5b6f49698ac"
SRC_URI[sha256sum] = "6825260aa5f15f4fbc7957ec578e9c859cbbe210e025ec74c4a0d05677523794"
do_install () {
install -d ${D}${bindir}
install -m 0755 ${B}/libc-bench ${D}${bindir}
}