So does it run better on the ps5??

Ryzen 9 5900x + 4090 combo here getting 30fps-40fps ryzen 9 5900x + 4090 combo.
I'm 100% fine with the frames being stable 30fps or 40fps but seems to dip all over the place.
I was wondering if the playstation version runs better?