13 src = fetchFromGitHub {
16 rev = "68ef2f96899c09e6ac7d929b0375f7a806aee067";
17 sha256 = "sha256-ASujTsH4eDAYLNalB9Xt1p3C8x+FI0kMldZBYaXMCWc=";
21 substituteInPlace src/dune --replace "printbox" "printbox-text"
24 nativeBuildInputs = [ reason ];
26 propagatedBuildInputs = [
31 description = "Native Reason + JSOO cross-platform performance benchmarking tools";
33 Inspired by the core_bench tools from Janestreet.
36 * Timing: time spent in a code block
37 * Call count: frequency of code-path calls
38 * Allocations: code-block impact to garbage collector
40 Supports benchmarks, which are test cases that exercise performance scenarios.
41 Outputs a JSON performance report, and compare it with previous iterations - and fail if a regression is detected.
43 homepage = "https://github.com/bryphe/reperf";
45 license = licenses.mit;