Intel Pentium Gold G5400 's Advantages
Higher base frequency (3.7GHz vs 3.0GHz)
Lower TDP (58W vs 65W)
Intel Core i5 8500 '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)