From: "Paul A. Patience" <paul@apatience.com>
To: 59412@debbugs.gnu.org
Cc: "Paul A. Patience" <paul@apatience.com>
Subject: [bug#59412] [PATCH] gnu: Add cl-the-cost-of-nothing.
Date: Sun, 20 Nov 2022 15:11:51 +0000 [thread overview]
Message-ID: <20221120151143.18800-1-paul@apatience.com> (raw)
* gnu/packages/lisp-xyz.scm (sbcl-the-cost-of-nothing,
cl-the-cost-of-nothing, ecl-the-cost-of-nothing): New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index e24c31b8db..7692246e8d 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -14896,6 +14896,46 @@ (define-public cl-trivial-benchmark
(define-public ecl-trivial-benchmark
(sbcl-package->ecl-package sbcl-trivial-benchmark))
+(define-public sbcl-the-cost-of-nothing
+ (let ((commit "f364029fbbf37ae5786f2f9ddf6185dd204a7185")
+ (revision "0"))
+ (package
+ (name "sbcl-the-cost-of-nothing")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/marcoheisig/the-cost-of-nothing")
+ (commit commit)))
+ (file-name (git-file-name "cl-the-cost-of-nothing" version))
+ (sha256
+ (base32 "1ccrglyr1wnnfp218w1qj7yfl4yzlxkki3hqaifi5axgbi5dmmh8"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ ;; The test operation benchmarks the Common Lisp implementation; it
+ ;; doesn't test the package.
+ (list #:tests? #f))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-closer-mop
+ sbcl-local-time
+ sbcl-trivial-garbage))
+ (home-page "https://github.com/marcoheisig/the-cost-of-nothing")
+ (synopsis "Measure the run time of Common Lisp code")
+ (description
+ "THE-COST-OF-NOTHING is a library for measuring the run time of Common
+Lisp code. It provides macros and functions for accurate benchmarking and
+lightweight monitoring. Furthermore, it provides predefined benchmarks to
+determine the cost of certain actions on a given platform and implementation.")
+ (license license:expat))))
+
+(define-public cl-the-cost-of-nothing
+ (sbcl-package->cl-source-package sbcl-the-cost-of-nothing))
+
+(define-public ecl-the-cost-of-nothing
+ (sbcl-package->ecl-package sbcl-the-cost-of-nothing))
+
(define-public sbcl-glyphs
(let ((commit "1ff5714e8c1dca327bc604dfe3e3d1f4b7755373"))
(package
--
2.38.0
next reply other threads:[~2022-11-20 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-20 15:11 Paul A. Patience [this message]
2022-11-21 9:19 ` bug#59412: [PATCH] gnu: Add cl-the-cost-of-nothing Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221120151143.18800-1-paul@apatience.com \
--to=paul@apatience.com \
--cc=59412@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).