Intel Pentium G4560 's Advantages
Higher base frequency (3.5GHz vs 2.9GHz)
Lower TDP (54W vs 65W)
Intel Core i5 9400 's Advantages
Released 2 years late
Better graphics card performance
Higher specification of memory (2666 vs 2400)
Larger memory bandwidth (41.6GB/s vs 35.76GB/s)
Larger L3 cache size (9MB vs 3MB)