* [bug#59412] [PATCH] gnu: Add cl-the-cost-of-nothing.
@ 2022-11-20 15:11 Paul A. Patience
2022-11-21 9:19 ` bug#59412: " Guillaume Le Vaillant
0 siblings, 1 reply; 2+ messages in thread
From: Paul A. Patience @ 2022-11-20 15:11 UTC (permalink / raw)
To: 59412; +Cc: Paul A. Patience
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#59412: [PATCH] gnu: Add cl-the-cost-of-nothing.
2022-11-20 15:11 [bug#59412] [PATCH] gnu: Add cl-the-cost-of-nothing Paul A. Patience
@ 2022-11-21 9:19 ` Guillaume Le Vaillant
0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-21 9:19 UTC (permalink / raw)
To: Paul A. Patience; +Cc: 59412-done
[-- Attachment #1: Type: text/plain, Size: 66 bytes --]
Patch pushed as 3612bd925f0256a9896d88114683c571c7f5c03d.
Thanks.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-21 9:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-20 15:11 [bug#59412] [PATCH] gnu: Add cl-the-cost-of-nothing Paul A. Patience
2022-11-21 9:19 ` bug#59412: " Guillaume Le Vaillant
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).