This has been beaten nearly to death.
Short answer: weight does matter, but how much it matters depends on many other variables, including rider weight, elevation change, etc. Then you can start comparing the effect of weight relative to aero drag, mechanical drag, wind speed, etc.