Gaming speed, cores and clocks
The Core i3-9100F and the Ryzen 5 2500X are within a few percent of each other for gaming. In a game, you will not see the difference.
The Core i3-9100F has 4 cores and 4 threads, and the Ryzen 5 2500X has 4 cores and 8 threads. Core counts are the same, so cache size and clock speed decide the difference. Boost clocks are 4.2 GHz and 4 GHz.