Power-to-weight ratio, aerobic efficiency and conditioning are probably more important than size. The kind of riding, climbing vs sprinting etc comes into it too. I’d say good frame geometry and mechanicals for a person’s size and how they ride is the most important aspect. Smaller wheels do have a positive impact on initial movement and climbing…..the world speed record was also done on 18” wheels.
Thinking we should just understand what our strengths and abilities are geared towards, build a bike accordingly and enjoy riding. I have a larger heart and lungs than the women’s norm and I can do climbing well so that’s the challenge I enjoy doing most.

weight certainly plays a role by itself but then i feel we should place more importance on enjoying the riding we do and work on things like weight as we can or even not ...especially if someone is healthy otherwise