This question is impossible to answer in the general. There simply does not exist such general timings.
Basically a battery has a certain capacity for charge - usually rated in "watt hours" (Wh) or "milli-amp hours" (mAh). Essentially it contains a specific amount of energy. A new 16" MacBook Pro has a battery that is roughly able to hold 100 Wh (watt-hours).
A charger is able to constantly deliver a certain, maximum amount of energy. This is usually rated in watts. So a 100 watt charger that is charging the battery at maximum capacity for 1 hour will deliver 100 watt-hours.
It is not however so that the computer necessarily draws the maximum possible amount of power from the charger at all times. For example newer MacBook Pros support fast charging - the same 16" MacBook Pro can do Fast Charging off a 140W charger. That allows it to reach up to a 50% charge in 30 minutes.
The battery charger controller in the computer decides how much power is drawn from the charger. In the same 16" MacBook Pro, that is handled by a Renesas ISL9240 IC. It is able to very precisely decide how many milliamps to draw at a specific time.
The battery charger controller is instructed on this by an on-board microprocessor. The decisions take into accounts various factors such as a simple timers, temperature sensors, etc. If you charge the battery today and tomorrow - it might not follow the exact same pattern every time.
Now to all this add the fact that the computer is drawing power from the battery while you're charging. Even when the CPU is at 0% load, the computer is still drawing a lot of power from the battery. The CPU also requires power at idle, but a lot of other components are continously powered as well - such as for example the display, memory, wireless interfaces, etc.
The amount of powered drawn is relatively unpredictable. It is not something you can generalize to any system.
So all in all, you might see in some instances that charging a battery from 0-100% takes the exact same amount of time when the CPU is loaded 0% as when it is loaded 100%. In order instances it will take a lot longer in the latter case - with the extreme being that that the battery never reaches 100% when the computer draws more power than is being delivered by the charger.