Intel Core i5 8400 's Advantages
Higher base frequency (2.8GHz vs 2.7GHz)
Intel Core i5 11500 's Advantages
Released 3 years and 5 months late
Better graphics card performance
Higher specification of memory (3200 vs 2666)
Larger memory bandwidth (50GB/s vs 41.6GB/s)
Newer PCIe version (4.0 vs 3.0)
Larger L3 cache size (12MB vs 9MB)