some recipes say it takes 45 minutes to 1 hour to caramelize diced onions, while others recommend 30 to 40 minutes for thin slices.