Shameless plug: I have been maintaining an ocy fork [1].
ocy is a Rust CLI for cleaning up build caches, etc. I.e. it only does that part but tries to do it fast and thorough. It e.g. finds worktrees in hidden folders and the like.
It is also parallelized and usually takes seconds to build a list of stuff that can go. It supports filtering by language/tooling.