vim-profiler 🕒

vim-profiler is a wrapper around the (n)vim --startuptime command, written in Rust. The binary is called vp and has only been tested on a Unix based system.

Installation

You can install vim-profiler with the rust package manager Cargo: bash $ cargo install vim-profiler

Usage

``` vim-profiler 0.0.1 A vim profiling tool.

USAGE: vp [FLAGS] [OPTIONS]

FLAGS: -e, --export Export the results to a CSV file -h, --help Prints help information -p, --plot Plot the data in the terminal -r, --reverse Display the plugin times in reverse order (fastest first) -s, --sys Show system plugins in the output -V, --version Prints version information -v, --verbose Add informative messages during program execution

OPTIONS: -c, --command The command to run, e.g vim or neovim [default: vim] -n, --count The number of plugins to list in the output -i, --iter The number of iterations -x, --precision Precision in the output ```

Prior Art

The API is heavily inspired by the Python script that goes by the same name vim-profiler.

A few other notable vim profiling tools include: - hyiltiz/vim-plugins-profile - dstein64/vim-startuptime