guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: Add ocaml-benchmark.


From: guix-commits
Subject: 01/02: gnu: Add ocaml-benchmark.
Date: Wed, 24 Nov 2021 08:53:33 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit db61ad142da1b1b60a6aaec61773df75b6e282f8
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Wed Nov 24 14:21:36 2021 +0100

    gnu: Add ocaml-benchmark.
    
    * gnu/packages/ocaml.scm (ocaml-benchmark): New variable.
---
 gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 82a675d..69d37f3 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3182,6 +3182,29 @@ many additional enhancements, including:
                    license:gpl2)))) ; OMake itself, with ocaml linking 
exception
                                     ; see LICENSE.OMake
 
+(define-public ocaml-benchmark
+  (package
+    (name "ocaml-benchmark")
+    (version "1.6")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/Chris00/ocaml-benchmark";)
+               (commit version)))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0d0vdfjgjzf1y6wkd714d8b0piv1z9qav5ahsapynqzk4b4ahhnp"))))
+    (build-system dune-build-system)
+    (arguments `(#:test-target "tests"))
+    (home-page "https://github.com/Chris00/ocaml-benchmark";)
+    (synopsis "Benchmark running times of code")
+    (description
+      "This module provides a set of tools to measure the running times of
+your functions and to easily compare the results.  A statistical test
+is used to determine whether the results truly differ.")
+    (license license:lgpl3+)))
+
 (define-public ocaml-batteries
   (package
     (name "ocaml-batteries")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]