The goal is to try to get to know the person to such a degree that you can decide intelligently whether you truly want to spend the rest of your life with them.
I personally think dating for 3 years or more is excessive, and prefer something shorter. But I would, at the very least have an intense dating period of 6 months or more, before deciding on something as important as marriage.
3 months and 3 years and 3 hours are not so different, although they provide some false comfort.
If you really are serious and want to build a long term relationship, the safest step to take is bring a list of questions and a polygraph.
Part of is growing up and part of it is more awareness of human nature, and part of it is a lot of reflection. So in a dating relationship, the more time spent with the person, the better. Its also important to learn something about their past relationships. With my ex I wasn't really listening when she said that she was the problem in all her past relationships.
I figured that was all in the past. But in my experience, the best predictor of future behavior is past behavior. IMO, people only change under extreme circumstances.
"Hey, I just met you, and this is crazy, but take this polygraph maybe?"
I think I'll pass on that approach...