<commit_before>SUMMARY = "The dbench (disk) and tbench (TCP) benchmarks"
SUMMARY_dbench = "Filesystem load benchmark"
SUMMARY_tbench = "TCP load benchmark"
HOMEPAGE = "http://samba.org/ftp/tridge/dbench/"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

DEPENDS = "popt"

SRC_URI = "\
    http://samba.org/ftp/tridge/dbench/dbench-${PV}.tar.gz \
    file://destdir.patch \
    file://makefile.patch"

inherit autotools

PACKAGES =+ "tbench tbench-dbg"

TARGET_CC_ARCH += "${LDFLAGS}"

FILES_tbench = "${bindir}/tbench* ${prefix}/share/client.txt"
FILES_tbench-dbg += "${bindir}/.debug/tbench*"

SRC_URI[md5sum] = "1fe56ff71b9a416f8889d7150ac54da4"
SRC_URI[sha256sum] = "6001893f34e68a3cfeb5d424e1f2bfef005df96a22d86f35dc770c5bccf3aa8a"<commit_msg>dbench: split one dpg package<commit_after>SUMMARY = "The dbench (disk) and tbench (TCP) benchmarks"
SUMMARY_dbench = "Filesystem load benchmark"
SUMMARY_tbench = "TCP load benchmark"
HOMEPAGE = "http://samba.org/ftp/tridge/dbench/"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

DEPENDS = "popt"

SRC_URI = "\
    http://samba.org/ftp/tridge/dbench/dbench-${PV}.tar.gz \
    file://destdir.patch \
    file://makefile.patch"

inherit autotools

PACKAGES =+ "tbench"

RPROVIDES_${PN}-dbg += "tbench-dbg"

TARGET_CC_ARCH += "${LDFLAGS}"

FILES_tbench = "${bindir}/tbench* ${prefix}/share/client.txt"

SRC_URI[md5sum] = "1fe56ff71b9a416f8889d7150ac54da4"
SRC_URI[sha256sum] = "6001893f34e68a3cfeb5d424e1f2bfef005df96a22d86f35dc770c5bccf3aa8a"
{'fraction_non_alphanumeric': 0.14666666666666667, 'fraction_numerical': 0.10412698412698412, 'mean_word_length': 5.735042735042735, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3512389', 'n_tokens_mistral': 792, 'n_tokens_neox': 679, 'n_words': 90}