Intel Pentium Gold G5420 's Advantages
Higher base frequency (3.8GHz vs 2.9GHz)
Lower TDP (54W vs 65W)
Intel Core i5 9400 's Advantages
Higher specification of memory (2666 vs 2400)
Larger memory bandwidth (41.6GB/s vs 37.5GB/s)
Larger L3 cache size (9MB vs 4MB)