I currently have 3 bikes- an aero road bike with the old 105 groupset (5800), a gravel bike with mostly new 105 (r7000), except for the cranks, and a TT bike with old ultegra (6800). They all weigh roughly the same. The TT bike is fastest- but it isn't due to the groupset. It's because it's a TT bike and made for speed. Add some deeper section wheels/disc cover and some fast tyres and it's a bit faster. Then the aero road bike- again tube profiles, my position,and tyre choice make it faster than the gravel bike. My gravel bike is also my commuting bike, so I have a second set of wheels with 32mm slick tyres. As I commute on it, the tyres are a bit more robust than on the road and TT bikes. So it's a it slower. Position wise, I am also a bit more upright and less aggressive. If I put faster tyres and adjusted my position so it was more aggressive, I could probably achieve similar speeds on the road and gravel bike for a similar power output. But I think the aero road would still be a bit faster, with its older groupset. And again, it's down to geometry and position mostly.