Intel Core i5 7400 's Advantages
Integrated graphics card
Lower TDP (65W vs 140W)
Intel Core i7 7800X 's Advantages
Higher specification of memory (2400 vs 2400)
Larger memory bandwidth (79.47GB/s vs 35.76GB/s)
Higher base frequency (3.5GHz vs 3.0GHz)
Larger L3 cache size (8MB vs 6MB)