Intel Core i5 7400 's Advantages
Better graphics card performance
Higher base frequency (3.0GHz vs 2.8GHz)
Intel Core i5 8400 's Advantages
Released 9 months 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)