How much research did you do before launching vs. learning as you went?

How much research did you do before launching vs. learning as you went?