[oe] [meta-oe] [PATCH] libc-bench: add recipe

liu.ming50 at gmail.com liu.ming50 at gmail.com
Wed Nov 15 14:41:16 UTC 2017


From: Ming Liu <liu.ming50 at gmail.com>

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 at gmail.com>
---
 .../recipes-benchmark/libc-bench/libc-bench_20110206.bb | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/libc-bench/libc-bench_20110206.bb

diff --git a/meta-oe/recipes-benchmark/libc-bench/libc-bench_20110206.bb b/meta-oe/recipes-benchmark/libc-bench/libc-bench_20110206.bb
new file mode 100644
index 0000000..f534c73
--- /dev/null
+++ b/meta-oe/recipes-benchmark/libc-bench/libc-bench_20110206.bb
@@ -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}
+}
-- 
2.7.4




More information about the Openembedded-devel mailing list