AMD Ryzen 3 5400U 's Advantages
Lower TDP (25W vs 35W)
AMD Ryzen 7 7840H 's Advantages
Released 2 years late
Higher specification of memory (5600 vs 4266)
Larger memory bandwidth (89.6GB/s vs 51.2GB/s)
Newer PCIe version (4 vs 3.0)
Higher base frequency (3.8GHz vs 2.6GHz)
Larger L3 cache size (16MB vs 8MB)
More modern manufacturing process (4nm vs 7nm)