feat: add command to measure vim startup time
This commit is contained in:
parent
840d3d67d9
commit
5f9aa7aa22
1 changed files with 5 additions and 0 deletions
|
@ -98,6 +98,11 @@
|
|||
help = "wrapper for nixos-rebuild switch";
|
||||
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; [
|
||||
stylua
|
||||
|
|
Loading…
Reference in a new issue