kbknapp / cargo-outdated

A cargo subcommand for displaying when Rust dependencies are out of date
MIT License
1.17k stars 87 forks source link

Very slow when run against project with Bevy + Leafwing #380

Open sax opened 6 months ago

sax commented 6 months ago

I use cargo-outdated on all of my Rust projects, and find it very useful. On a private project I've been playing with using bevy, and I've found that for some reason cargo-outdated takes so long to run that I can't use it on a regular basis as a part of my workflow automation.

I thought I'd start by filing the issue in case something jumps out that could be solved.

I've created a bare-bones repo with some common libraries that are paired with bevy. When I comment out different libraries, it gets faster, but still seems very slow compared with my usage on other projects.

https://github.com/sax/outdated-bevy

Only bevy: ~1.5s

I would love to help debug or contribute a fix, but I'm not sure where to start with profiling this to figure out what's going on.