Hey there,
Make sure your GPU driver is up to date, along with all system drivers etc.
Do you use Geforce Experience to optimize your games? If so, don't. It's a turkey of an app, and has a way of crippling what otherwise might be very good performance. If installed, remove it, update drivers etc, then try again. Also, might be worth ensuring you have the high performance windows power plan or the Ryzen plan on.
Let us know how you get on.