Intel Core i5 8400H 's Advantages
Higher specification of memory (2666 vs 2400)
Larger memory bandwidth (41.8GB/s vs 35.76GB/s)
Higher base frequency (2.5GHz vs 2.0GHz)
Larger L3 cache size (8MB vs 4MB)
AMD Ryzen 3 2300U 's Advantages
Better graphics card performance
Lower TDP (15W vs 45W)