Intel Core i5 7400 's Advantages
Integrated graphics card
Higher base frequency (3.0GHz vs 2.9GHz)
Intel Core i5 10400F 's Advantages
Released 3 years and 4 months late
Higher specification of memory (2666 vs 2400)
Larger memory bandwidth (41.6GB/s vs 35.76GB/s)
Larger L3 cache size (12MB vs 6MB)