1 { buildDunePackage, fetchFromGitHub, lib, printbox-text, reason }:
7 src = fetchFromGitHub {
10 rev = "68ef2f96899c09e6ac7d929b0375f7a806aee067";
11 sha256 = "sha256-ASujTsH4eDAYLNalB9Xt1p3C8x+FI0kMldZBYaXMCWc=";
15 substituteInPlace src/dune --replace "printbox" "printbox-text"
18 nativeBuildInputs = [ reason ];
20 propagatedBuildInputs = [
25 description = "Native Reason + JSOO cross-platform performance benchmarking tools";
27 Inspired by the core_bench tools from Janestreet.
30 * Timing: time spent in a code block
31 * Call count: frequency of code-path calls
32 * Allocations: code-block impact to garbage collector
34 Supports benchmarks, which are test cases that exercise performance scenarios.
35 Outputs a JSON performance report, and compare it with previous iterations - and fail if a regression is detected.
37 homepage = "https://github.com/bryphe/reperf";
38 maintainers = with maintainers; [ ];
39 license = licenses.mit;