From patchwork Sat May 8 13:13:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 29163 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F346527BC82; Sat, 8 May 2021 14:15:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6B83427BC81 for ; Sat, 8 May 2021 14:15:13 +0100 (BST) Received: from localhost ([::1]:54196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfMnY-0006Ph-Ll for patchwork@mira.cbaines.net; Sat, 08 May 2021 09:15:12 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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+)))