AMD Ryzen 7 7840H 's Advantages
Released 2 years late
Larger memory bandwidth (89.6GB/s vs 68.3GB/s)
Newer PCIe version (4 vs 3.0)
Higher base frequency (3.8GHz vs 2.8GHz)
More modern manufacturing process (4nm vs 7nm)
AMD Ryzen 7 5800HS 's Advantages
Higher specification of memory (LPDDR4-4266 vs DDR5-5600)