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)
Lower TDP (65W vs 105W)
AMD Ryzen 7 5700X3D 's Advantages
Released 2 years late
Higher base frequency (3.0GHz vs 2.5GHz)
Larger L3 cache size (96MB vs 18MB)
More modern manufacturing process (7nm vs 10nm)