Intel Core i5 9400 's Advantages
Integrated graphics card
AMD Ryzen 5 2500X 's Advantages
Higher specification of memory (2933 vs 2666)
Larger memory bandwidth (43.71GB/s vs 41.6GB/s)
Higher base frequency (3.6GHz vs 2.9GHz)
Larger L3 cache size (16MB vs 9MB)
More modern manufacturing process (12nm vs 14nm)