Skip to contentSkip to conversation

libc-bench: add recipe

PATCH New [email protected] 1 participant 1 message Nov 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libc-bench: add recipe

From: Ming Liu <[email protected]>

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.

---
 .../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
meta-oe/recipes-benchmark/libc-bench/libc-bench_20110206.bb new file +17 -0
new file mode 100644
index 0000000..f534c73
@@ -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}
+}
Signature · 1 line
2.7.4