Intel Core i5 7400 's Advantages
Better graphics card performance
Higher base frequency (3.0GHz vs 2.9GHz)
Intel Core i5 9400 's Advantages
Released 2 years late
Higher specification of memory (2666 vs 2400)
Larger memory bandwidth (41.6GB/s vs 35.76GB/s)
Larger L3 cache size (9MB vs 6MB)