it depends on the actual processor, not just if it's i5 or i7 or even i9.
there are many versions of each, some 4 core, some 6 core, some 8 core, etc.
some of each type with low clockspeed and less cache available, some with higher clockspeed and other greater benefits available.
you would need to specify exactly which processor the laptops you are checking out had to get any type of comparison between them.
ASUS ROG Strix Z590-E Gaming | i7-11700K \ ASUS ROG Ryujin 360 | G.Skill TridentZ 3466 CL14 32GB | ASUS TUF RTX 3080 Ti | M2: 960GB \ SSDs: 5TB \ HDs: 16TB | Super Flower Leadex III 850w | Fractal Design Vector RS Blackout \ 5x be quiet! Silent Wings 3 140mm High-Speed PWM | Logitech G600 | Corsair K70 LUX RGB | Xbox One S Gamepad | Klipsch ProMedia 2.1 | Anker Soundcore Life Q20 | 34" Alienware AW3420DW \ 55" LG CX OLED | Windows 10 Pro x64