Intel Core i5 1335U 's Advantages
Lower TDP (15W vs 54W)
AMD Ryzen 7 7840HS 's Advantages
Better graphics card performance
Higher specification of memory (7500 vs 6400)
Higher base frequency (3.8GHz vs 1.3GHz)
Larger L3 cache size (16MB vs 12MB)
More modern manufacturing process (4nm vs 10nm)