It seems it's more nuanced. Try the following searches:
how long does it take to caramelize onions
how long does it take to caramelise onions (note the typo)
how long to caramelize an onion (not a typo but still wrong)
how long to caramelize onions