A nitpick with the use of "the" with Macbook Pro.
I think you need to qualify that as the 13" Macbook Pro. The 13" models use ultrabook class processors, while the 15" models use much faster quad core i7 processors. IMO, the 13" and 15" are very different beasts because of that.
Either way, a U processor doesn't really compare to the MQ/HQ suffixed CPUs in terms of perforamnce.
Checking the Geekbench comparisons, performance of the 13" and 15" MacBook Pros are mixed in together.
MacBook Pro (13-inch Mid 2017) Intel Core i5-7360U @ 2.3 GHz (2 cores): 4330 MacBook Pro (15-inch Mid 2017) Intel Core i7-7700HQ @ 2.8 GHz (4 cores): 4339
That's a negligible difference.
Of course multi-core changes the picture dramatically due to 2 vs 4 cores and the different TDPs, etc...