The problem was the Azure Portal does not show the units in the chart of function executions. Function execution units are measured in Megabyte milliseconds, but the chart does not say this.
The Azure documentation gives the costs of function execution units in Gigabyte seconds.
The real solution to this problem is for the charts in the Azure portal to show the units.