codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

Spade is too slow with large C++ files

Open richardeakin opened this issue 2 years ago • 1 comments

Environment

  • Visual Studio version: 2022 Community
  • CodeMaid version: 12.0
  • Code language: C++

Description

I installed the Codemaid extension specifically for the "Digging (Spade)" feature as this is a crucial component of VS that I find lacking, however after using it for a couple months, I'm finding it to be too slow for practical use. This is especially true on large C++ files, take for example anything in Dear ImGui which can be found in numerous open source projects.

If I have Spade open and try to look at imgui.h or imgui_widgets.cpp for examples, I get an editor freeze for the next 10 seconds or so. I have a 12 core i9 PC and the code lives on an M.2 SSD, so can't get too much faster concerning hardware.

In any event thank you for the nice open source plug-in, hope to be using it in the future!

richardeakin avatar May 06 '23 03:05 richardeakin

Thanks for reporting the issue. We do know there is a linear performance impact based on the size of the file, so when files are 3k-14k lines as in those examples this is unfortunately as expected.

codecadwallader avatar May 21 '23 23:05 codecadwallader