all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#48285] [PATCH] gnu: Add interbench.
@ 2021-05-08 13:13 Arun Isaac
  2021-05-14 10:19 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Arun Isaac @ 2021-05-08 13:13 UTC (permalink / raw)
  To: 48285; +Cc: Arun Isaac

* 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 <malte.f.gerdes@gmail.com>
 ;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2020 Greg Hogan <code@greghogan.com>
+;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
 ;;;
 ;;; 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#48285] [PATCH] gnu: Add interbench.
  2021-05-08 13:13 [bug#48285] [PATCH] gnu: Add interbench Arun Isaac
@ 2021-05-14 10:19 ` Ludovic Courtès
  2021-05-15  7:57   ` bug#48285: " Arun Isaac
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2021-05-14 10:19 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 48285

Hi Arun,

Arun Isaac <arunisaac@systemreboot.net> skribis:

> * gnu/packages/benchmark.scm (interbench): New variable.

LGTM, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#48285: [PATCH] gnu: Add interbench.
  2021-05-14 10:19 ` Ludovic Courtès
@ 2021-05-15  7:57   ` Arun Isaac
  0 siblings, 0 replies; 3+ messages in thread
From: Arun Isaac @ 2021-05-15  7:57 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 48285-done

[-- Attachment #1: Type: text/plain, Size: 115 bytes --]


>> * gnu/packages/benchmark.scm (interbench): New variable.
>
> LGTM, thanks!

Pushed, thanks for the review! :-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 524 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-15  7:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-08 13:13 [bug#48285] [PATCH] gnu: Add interbench Arun Isaac
2021-05-14 10:19 ` Ludovic Courtès
2021-05-15  7:57   ` bug#48285: " Arun Isaac

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.