Gaming speed, cores and clocks
On our gaming index the Ryzen 5 5500 scores 50 and the Core i3-12100F scores 46, about 9% faster for gaming. That gap is small and mostly shows up at 1080p with a very fast graphics card.
The Ryzen 5 5500 has 6 cores and 12 threads, and the Core i3-12100F has 4 cores and 8 threads. The extra cores of the Ryzen 5 5500 help with video editing, streaming while you play and heavy multitasking more than with the game itself. Boost clocks are 4.2 GHz and 4.3 GHz.