There isn’t a precise baking time for sweet potatoes, as it depends on the oven and the size of the potatoes.
If you are in a hurry, cook the potatoes in the microwave for 5 minutes before baking them.
You can also use any other baking pan, but I like a deep dish pan as it cooks the potatoes more evenly.