feat: add command to measure vim startup time
parent
840d3d67d9
commit
5f9aa7aa22
|
@ -98,6 +98,11 @@
|
||||||
help = "wrapper for nixos-rebuild switch";
|
help = "wrapper for nixos-rebuild switch";
|
||||||
command = "sudo nixos-rebuild boot --flake . $@";
|
command = "sudo nixos-rebuild boot --flake . $@";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "vim-startuptime";
|
||||||
|
help = "test vim startup time";
|
||||||
|
command = "${pkgs.lib.getExe pkgs.hyperfine} --warmup 5 --prepare 'sleep 2' 'vim -c exit'";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
stylua
|
stylua
|
||||||
|
|
Loading…
Reference in New Issue