The growth of pumpkins seems to be affected by blocks surrounding the stem. The more blocks surrounding it the slower it grows.
In the attached picture the pumpkin stems on the left produce far less pumpkins per hour than the ones on the right.
Melons and Pumpkins grows completely random directions.
Melons and Pumpkins grow very slowly