AMD Ryzen 5 2400G 's Advantages
Better graphics card performance
Higher specification of memory (2933 vs 2400)
Larger memory bandwidth (43.71GB/s vs 37.5GB/s)
Intel Pentium Gold G5400 's Advantages
Higher base frequency (3.7GHz vs 3.6GHz)
Lower TDP (58W vs 65W)