Speed and memory
In our performance index the Radeon RX 5700 XT scores 25 and the GeForce RTX 2070 scores 23, which makes the Radeon RX 5700 XT about 9% faster. That is a small gap, below what most people notice without a frame counter.
Both cards have 8 GB of video memory, so memory will not separate them.
In our estimates for popular games at 1080p on High, the biggest gap is in Cyberpunk 2077 (67 against 62 fps), and the smallest is in Call of Duty (62 against 58 fps). Games that are light enough to run above 200 fps on both cards show little difference at all.