I had the same problem a few weeks ago, but it could be many things…
In my case it was something related to a too-much bloated OS or something like that, an update or too much installs made the games laggy, especially when using DX12.
A clean reinstall of the whole OS solved the issue, but at the cost of reconfiguring everything else
Before trying that, be sure that it’s not a problem related to the graphics card or the game files themselves by verifying the files.