Intel Pentium Gold G5400 's Advantages
Released 6 months late
Higher base frequency (3.7GHz vs 2.8GHz)
Lower TDP (58W vs 65W)
Intel Core i5 8400 's Advantages
Better graphics card performance
Higher specification of memory (2666 vs 2400)
Larger memory bandwidth (41.6GB/s vs 37.5GB/s)
Larger L3 cache size (9MB vs 4MB)