mirror of
https://gitlab.com/rensa-nix/devshell.git
synced 2025-12-12 14:20:08 +01:00
feat: add CI, improve benchmark, fix issue statix created and remove statix
This commit is contained in:
parent
5fee6ef12a
commit
560aaf0f15
9 changed files with 118 additions and 13 deletions
|
|
@ -6,13 +6,13 @@ in {
|
|||
runtimeInputs = [pkgs.hyperfine];
|
||||
text = ''
|
||||
echo "Comparison cases first:"
|
||||
hyperfine -w 3 \
|
||||
'nix-instantiate ${inputs.self}/benchmark/shared.nix' \
|
||||
'nix-instantiate ${inputs.self}/benchmark/empty.nix'
|
||||
hyperfine -w 5 \
|
||||
'nix-instantiate ${inputs.self}/benchmark/shared.nix --quiet --quiet --quiet' \
|
||||
'nix-instantiate ${inputs.self}/benchmark/empty.nix --quiet --quiet --quiet'
|
||||
echo "Now real benchmark:"
|
||||
hyperfine -w 3 \
|
||||
'nix-instantiate ${inputs.self}/benchmark/nixpkgs-shell.nix' \
|
||||
'nix-instantiate ${inputs.self}/benchmark/devshell.nix'
|
||||
hyperfine -w 5 \
|
||||
'nix-instantiate ${inputs.self}/benchmark/nixpkgs-shell.nix --quiet --quiet --quiet' \
|
||||
'nix-instantiate ${inputs.self}/benchmark/devshell.nix --quiet --quiet --quiet'
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue