In one of the issues on the Nitroxsenys YouTube channel, they tested in modern games RTX 5050, 4060, 3070 and 5060. They were launched on a PC with PCIe 2.0, 3.0 and 4.0.
The computer assembly for tests included the 1stplayer Trilobite T4-G case, four complete fans, MSI MSI MSI MAG B550M Pro-VDH WiFi, the Ryzen 5700X processor, the Uphere H85T6 cooler, RAM GSKill Trended Z RGB 2×16 GB 3600 MHz, GB 3600 MHz. Chieftec Steelpower power supply 750 watts with a gold certificate.
On old computers with PCIe 3.0, the RTX 5060 video card shows itself at 3070 or even better. But this is provided that the video memory will not be fully loaded. RTX 5050 in performance was 4060, but a little weaker in general. In the Cyberpunk 2077 with DLSS disconnected technology and an average stop, 5050 and 4060 issued about 40 fans on average, 5060 and 3070 – about 55 fps. Red Dead Redemption 2 was tested with TSR, complete trace of rays, and average preset. RTX 5050 and 4060 was issued here about 30 f/s (but 4060 was still a little faster), and 3070 and 5060 – 35 f/s on average.

With PCIe 4.0, the situation was about the same. In the Cyberpunk 2077 with the same settings of the RTX 5050 and 4060 graphics, as well as 5060 and 3070 were approximately equal. The first pair was issued in the region of 40-45 f/s, the second-about 55-60 f/s. The same story was with PCIe 2.0.
You can familiarize yourself with all the test results below by watching the video.
Conclusion
If you now have a PCIe 4.0, then the choice is obvious: take RTX 5060. You can also put it on the computer with PCIe 3.0, but it is important to ensure that there is no video memory. Yes, you will lose a little performance, but you will get a new video card from a store with FPS at the RTX 3070 level and less heating. As for 5050, it could be interesting if it were not for the price.