at master 30 lines 919 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5}: 6 7buildDunePackage rec { 8 pname = "benchmark"; 9 version = "1.7"; 10 11 minimalOCamlVersion = "4.03"; 12 13 src = fetchurl { 14 url = "https://github.com/Chris00/ocaml-benchmark/releases/download/v${version}/benchmark-${version}.tbz"; 15 hash = "sha256-Aij7vJzamNWQfjLeGgENlIp6Il8+Wc9hsahr4eDGs68="; 16 }; 17 18 meta = { 19 homepage = "https://github.com/Chris00/ocaml-benchmark"; 20 description = "Benchmark running times of code"; 21 longDescription = '' 22 This module provides a set of tools to measure the running times of 23 your functions and to easily compare the results. A statistical test 24 is used to determine whether the results truly differ. 25 ''; 26 changelog = "https://raw.githubusercontent.com/Chris00/ocaml-benchmark/refs/tags/v${version}/CHANGES.md"; 27 license = lib.licenses.lgpl3; 28 maintainers = with lib.maintainers; [ momeemt ]; 29 }; 30}