pkgsrc/benchmarks/hyperfine/Makefile
pin e4426023ae benchmarks/hyperfine: import package
A command-line benchmarking tool.
Features:
-Statistical analysis across multiple runs.
-Support for arbitrary shell commands.
-Constant feedback about the benchmark progress and current estimates.
-Warmup runs can be executed before the actual benchmark.
-Cache-clearing commands can be set up before each timing run.
-Statistical outlier detection to detect interference from other programs and
caching effects.
-Export results to various formats: CSV, JSON, Markdown, AsciiDoc.
-Parameterized benchmarks (e.g. vary the number of threads).
2021-01-29 09:15:40 +00:00

24 lines
702 B
Makefile

# $NetBSD: Makefile,v 1.1 2021/01/29 09:15:40 pin Exp $
DISTNAME= hyperfine-1.11.0
CATEGORIES= benchmarks
MASTER_SITES= ${MASTER_SITE_GITHUB:=sharkdp/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/sharkdp/hyperfine/
COMMENT= Command-line benchmarking tool
LICENSE= apache-2.0
.include "cargo-depends.mk"
USE_LANGUAGES+= c # rust, but needs a toolchain to link
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/hyperfine ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/hyperfine.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/hyperfine.1
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"