Looking at recommended system specs. I see your processor should be fast enough. Min ram is 2 gigs but it recommends 8 gigs. It also recommends having an SSD hard drive.
https://learn.microsoft.com/en-us/visualstudio/releases/2019/system-requirements
I would also recommend updating your antivirus (windows defender included) to not scan the folder your solution is in