AMD Ryzen 5 5600 's Advantages
Higher base frequency (3.5GHz vs 2.5GHz)
Larger L3 cache size (32MB vs 18MB)
More modern manufacturing process (7nm vs 10nm)
Intel Core i5 12400 's Advantages
Integrated graphics card
Higher specification of memory (4800 vs 3200)
Larger memory bandwidth (76.8GB/s vs 51.2GB/s)
Newer PCIe version (5.0 vs 4.0)