How long does the gravitational collapse process typically take to fully condense massive gas fragments?

Answer

Millions of years

Gravitational collapse is a protracted process; it can take millions of years for a large clump of gas to condense sufficiently before the subsequent stages of star formation occur.

How long does the gravitational collapse process typically take to fully condense massive gas fragments?
physicsstarnebulaformation