Fastest way and best way may not be the same in your case, based on the info you provide.
Since you have found that Migration of apps bring the slow performance back, I'm not sure I'd do any more migration, but would try re-installing the apps instead. This would create new preferences, eliminating an "bad, old preferences" that may have been the cause of the slow down.
Re-installing will take more time, and apps like those from Adobe that require key #s are going to be a pain, but the end result of a properly performing Mac is your goal.
The problem with Migration is that it can bring the problems with it, as you have seen.
The problem with re-installing is that you will never know which caused the problem. You won't be able to avoid creating the problem again. It may not have been anything you did, but a built-in glitch that is going to occur whenever a particular set of apps and actions are present.
Perhaps a faster way to solve the problem of what causes the slow down:
Make sure all 3rd party apps are in the Applications folder, or have aliases there, so all User accounts have access to them. Then log out of your account and into another account and test for performance problems. I have an account called "Test" (non-Admin) just for this purpose. This account will have its own preferences for those apps, different than yours.
Now, in that Test account, start using the apps and your Mac, watching for slow-downs.
Whatever you do to solve this, please come back and report it- what worked and what didn't. We all can learn something from it.
thumbnail-cache will be random, it will always have the name com.apple.QuickLook.thumbnailcache. So i think you have already found the right location.
There you find the index.sqlite file is a SQLite database-file containing two tables: thumbnails and files.
The files table contains the name, path, file-identifier, and volume-identifier of each file tracked by the database.
The thumbnails table contains information about each thumbnail, including the file to which it relates (as stored in the files table) and the offset of its data, which is stored as a raw bitmap in the thumbnails.data file.
may this will solve your question, because all of the Infos are from this Page.
Best Answer
To completely remove Visual Studio Code you should delete the following files and folders:
monitored with fseventer (OK it's a 404, but the domain still exists)