Author Topic: Tagging html files is slow and hijacks the interface  (Read 1368 times)

JeffB

  • Senior Community Member
  • Posts: 326
  • Hero Points: 14
Tagging html files is slow and hijacks the interface
« on: October 06, 2020, 12:39:08 AM »
Just upgraded to 25.0.0.8 and noticed that VS is tagging .html files and taking forever.  Status line says >1000 files remaining. It's taking a second or more for each file.  Is there something new in this area ?

Also, if I'm typing while this is running in the background, and do something like enter "%d", VS pops a window up after the "%" starting to suggest some symbols, and also pops up a "Finish background tagging jobs" dialog like it needs to finish tagging in the foreground (with a "cancel") button.  I can close the dialog (eventually), but the tagging continues slowly in the background.

Anyone else seeing anything like this?

Linux, ~140k files in project.  Project is based in a single "dir/path/*" wildcard entry.   html files are in 3rd party code.  Project is a mix, but mostly c/c++ code.

Dennis

  • Senior Community Member
  • Posts: 3992
  • Hero Points: 520
Re: Tagging html files is slow and hijacks the interface
« Reply #1 on: October 06, 2020, 02:30:34 PM »
Nothing new by way of HTML tagging.  Are these very large files?  Were you including them in your project/workspace before?

We added completion for % escape sequences in C/C++ strings (like used in a printf).  This triggers list-symbols, which has the side-effect of wanting the background tagging jobs to finish.  The best solution is to simply let the background tagging jobs finish.  Hitting "Cancel" in the dialog that comes up merely cancels the list-symbols operation, not the background tagging job.

JeffB

  • Senior Community Member
  • Posts: 326
  • Hero Points: 14
Re: Tagging html files is slow and hijacks the interface
« Reply #2 on: October 06, 2020, 03:11:56 PM »
Thanks, Dennis. I don't know which html files were being tagged or how large they were.  It was noticeably slow because when it's tagging code files, it's really fast (>100/sec.?) and these were just dragging.  If it happens again, I'll try to get more info.