Skip to content
Back to skills

Benchmark Nvim

ASecurity

Benchmark Neovim startup time and identify slow plugins or configurations

  • 666 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 8, 2026
toolsbashperformance

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill benchmark-nvim --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Benchmark Nvim?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Benchmark Nvim
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-benchmark-nvim/badge)](https://www.skillsdirectory.com/skills/majiayu000-benchmark-nvim)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: benchmark-nvim
description: Benchmark Neovim startup time and identify slow plugins or configurations
allowed-tools: Bash(hyperfine *), Bash(nvim *), Read
---

# Neovim Startup Benchmark

Measure Neovim startup time and perform performance analysis.

## Steps

### 1. Run benchmark with hyperfine

Execute the following command to measure startup time:

```bash
hyperfine --warmup 3 'nvim --headless +q'
```

### 2. Detailed analysis with startuptime

```bash
nvim --startuptime /tmp/nvim-startup.log --headless +q
```

Read `/tmp/nvim-startup.log` and analyze:

- **Total startup time**: Time shown in the last line of the log
- **Slowest plugins TOP 5**: Items taking the most time in sourcing
- **Phase breakdown**:
  - reading vimrc (init.lua)
  - loading plugins
  - syntax/filetype
  - other

### 3. Output format

Report results in the following format:

```
## Benchmark Results

### hyperfine Results
(Include hyperfine output as-is)

### Slowest Plugins TOP 5
| Rank | Plugin | Time (ms) |
|------|--------|-----------|
| 1    | xxx    | X.XX      |
| ...  | ...    | ...       |

### Phase Breakdown
- init.lua loading: X.XX ms
- Plugin loading: X.XX ms
- Other: X.XX ms

### Optimization Suggestions
(Provide suggestions based on slow plugins if applicable)
```

## Notes

- `--warmup 3` in hyperfine warms up the cache
- Consider lazy.nvim lazy-loading settings in analysis

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.