Intel Celeron J4005 's Advantages
Lower TDP (10W vs 58W)
Intel Pentium Gold G5400 's Advantages
Better graphics card performance
Higher specification of memory (2400 vs 2400)
Larger memory bandwidth (37.5GB/s vs 35.76GB/s)
Newer PCIe version (3.0 vs 2.0)
Higher base frequency (3.7GHz vs 2.0GHz)