From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id NxrhKN6OlmAnrgAAgWs5BA (envelope-from ) for ; Sat, 08 May 2021 15:15:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id RwUGJN6OlmDpMwAA1q6Kng (envelope-from ) for ; Sat, 08 May 2021 13:15:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 332D4D507 for ; Sat, 8 May 2021 15:15:10 +0200 (CEST) Received: from localhost ([::1]:54196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfMnV-0006Ph-7v for larch@yhetil.org; Sat, 08 May 2021 09:15:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfMnQ-0006PW-9G for guix-patches@gnu.org; Sat, 08 May 2021 09:15:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfMnO-0004pm-DR for guix-patches@gnu.org; Sat, 08 May 2021 09:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfMnO-0001BQ-9M for guix-patches@gnu.org; Sat, 08 May 2021 09:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48285] [PATCH] gnu: Add interbench. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 May 2021 13:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48285 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48285@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16204796754521 (code B ref -1); Sat, 08 May 2021 13:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 May 2021 13:14:35 +0000 Received: from localhost ([127.0.0.1]:50249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfMmw-0001Ar-Qk for submit@debbugs.gnu.org; Sat, 08 May 2021 09:14:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:55804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfMmv-0001Al-8p for submit@debbugs.gnu.org; Sat, 08 May 2021 09:14:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfMmv-0006OT-33 for guix-patches@gnu.org; Sat, 08 May 2021 09:14:33 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:59212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfMmr-0004UC-Du for guix-patches@gnu.org; Sat, 08 May 2021 09:14:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=u4gXz3czhvDqiPg2hbHhVVfrMFeDpYIh442sdPtoeI8=; b=ARtUOuFmEYHI1BP1sZnAAEwv78 x1y3+uYfycm0OD+MXPXI8W+c8sx6Nz6e+L9tWTwV8YVbg7iKC/X3yaFqv9wSdtHj7osBnvCnrwTfw MjOpfn2M0CiWRxu3DAaZx8RzGnYrN0kcZRqR3xbKaT78oNoJP07/1MUZzRlNEyzbtpdMqpP3F/a5c cnJB7AvAudARSVqhH338I+DHjMO/j4SNSipd8JICUYqTQJ3mNdSnkx47Lz/egLNM0j0LGtAV0aHXF mVvZg/5D/NbUE/voDHc2P1OREqqDjl+8NopHXyS/tfzJqlrb/QpAPk2ALNZU3tbeli27t8J9QOQD1 3at9/jtQ==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lfMmj-000CTZ-C6; Sat, 08 May 2021 18:44:21 +0530 From: Arun Isaac Date: Sat, 8 May 2021 18:43:57 +0530 Message-Id: <20210508131357.3012-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620479710; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=u4gXz3czhvDqiPg2hbHhVVfrMFeDpYIh442sdPtoeI8=; b=WFRwTrS3dm7npXnuYWBto6ELj2kzApncV59EsywTOEEV/V1HE1hhcFpkIEGu7O6VN+32pM B09OJLOFE0/H34gkT40HThbuGjScKsfaPmH0cjmDywCFbGVgi3LTIaRDwDVbxdfdEHqdKH FZyCY5O9/b+yJU5KRBjuRKv9A1xmrH99+ciFtm7/1p3SKab88MnEC3K3w3wcUuwvgSpKaM Kqx9NoY2h6qRjfNYHthKHT8XBraqVxAgSUZnNb20CRV+6+M+MFWr+9eKcWo0LFrsFndLAI Smmrime8F+17IKkuYN1Oq9rbGue52nTg9Lfmcr2A2OU1/q6YuxThi3ge8PcYMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620479710; a=rsa-sha256; cv=none; b=TxcTV7wte68omtSTE0kkGEXauiY7G2tN0B6pWpOLHublDmdK3RERujWnsZhQqbsPOVcTno +v994ng9UdGGAFxcBVVTO+hX5C5dFYtcKLfn30YovkW11+FoOr7byqQnpkw4ZKYhhEujbI zpnMOxd2/gbbPOBjwfpvsg8hJVhBKsN39FlIOAdnAT2zY8KlZkyOy9FzyKX5yqrz1aD3fW qJOSpDUQ2pkYoJ+rvqseiNBGJPw1Ik1TO42ifrPJ9vifjrq2vo4XlUILrJW1UHlicDlwL/ y6LKRbMhlh7gyeI4/n/agJB0xMnOkdQzuZ2kBvmQm5RIwVcMdVVMizN4bXjtZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=ARtUOuFm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=ARtUOuFm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 332D4D507 X-Spam-Score: -0.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: MMXaw5OcpZ18 * gnu/packages/benchmark.scm (interbench): New variable. --- gnu/packages/benchmark.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm index 2fc4082ed1..b7bb332fc7 100644 --- a/gnu/packages/benchmark.scm +++ b/gnu/packages/benchmark.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2020 malte Frank Gerdes ;;; Copyright © 2020, 2021 Maxim Cournoyer ;;; Copyright © 2020 Greg Hogan +;;; Copyright © 2021 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -353,3 +354,41 @@ Note: Locust will complain if the available open file descriptors limit for the user is too low. To raise such limit on a Guix System, refer to @samp{info guix --index-search=pam-limits-service}.") (license license:expat))) + +(define-public interbench + (package + (name "interbench") + (version "0.31") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ckolivas/interbench") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ifnw8vnkcgrksx7g5d9ii4kjppqnk32lvrybdybmibyvag6zfdc")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-broken-makefile + (lambda _ + ;; Remove erroneous "-lm" target + (substitute* "Makefile" + (("hackbench.o -lm") "hackbench.o")))) + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "interbench" (string-append out "/bin")) + (install-file "interbench.8" (string-append out "/share/man/man8")))))))) + (home-page "http://users.on.net/~ckolivas/interbench/") + (synopsis "Interactivity benchmark") + (description "interbench is designed to benchmark interactivity on Linux. +It is designed to measure the effect of changes in Linux kernel design or +system configuration changes such as CPU, I/O scheduler and filesystem changes +and options. With careful benchmarking, different hardware can be compared.") + (license license:gpl2+))) -- 2.31.0