Intel Core i5 6400 's Advantages
Integrated graphics card
AMD Ryzen 5 5500 's Advantages
Released 6 years and 6 months late
Higher specification of memory (3200 vs 2133)
Larger memory bandwidth (51.2GB/s vs 34.1GB/s)
Higher base frequency (3.6GHz vs 2.7GHz)
Larger L3 cache size (16MB vs 6MB)
More modern manufacturing process (7nm vs 14nm)