Intel Core i5 7400 's Advantages
Integrated graphics card
AMD Ryzen 5 5500GT 's Advantages
Released 7 years late
Higher specification of memory (3200 vs 2400)
Larger memory bandwidth (51.2GB/s vs 35.76GB/s)
Newer PCIe version (3 vs 3.0)
Higher base frequency (3.6GHz vs 3.0GHz)
Larger L3 cache size (16MB vs 6MB)
More modern manufacturing process (7nm vs 14nm)