mirror of
https://codeberg.org/icewind/mill-scale.git
synced 2026-06-03 09:54:19 +02:00
iai-callgrind support
This commit is contained in:
parent
cf3cf81ddb
commit
3821e5b444
6 changed files with 39 additions and 0 deletions
29
pkgs/iai-callgrind-runner/default.nix
Normal file
29
pkgs/iai-callgrind-runner/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "iai-callgrind-runner";
|
||||
version = "v0.15.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iai-callgrind";
|
||||
repo = "iai-callgrind";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-yOsO1qSkZ4OsAbdS6IqbY9bX6p3JPSxOuHa3W4UoPX8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-HvcSfLvZFJtkVFeu8DL2+e7PddJz/jJwh9aUtAV7gFY=";
|
||||
|
||||
buildAndTestSubdir = "iai-callgrind-runner";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "High-precision and consistent benchmarking framework/harness for Rust";
|
||||
homepage = "https://github.com/iai-callgrind/iai-callgrind";
|
||||
license = licenses.mit;
|
||||
mainProgram = "iai-callgrind-runner";
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue