Intel Core i5 12400 's Advantages
Integrated graphics card
Higher specification of memory (4800 vs 3200)
Larger memory bandwidth (76.8GB/s vs 47.68GB/s)
Newer PCIe version (5.0 vs 4)
Lower TDP (65W vs 105W)
AMD Ryzen 7 5800XT 's Advantages
Released 2 years and 6 months late
Higher base frequency (3.8GHz vs 2.5GHz)
Larger L3 cache size (32MB vs 18MB)
More modern manufacturing process (7nm vs 10nm)