An interesting question. You could play around with the basic field length equations and try and find out. I'm not sure if anybody's tried.
But, I'd say the ideal runway has a moderate upslope and higher friction surface on the last quarter, and is level for the first three-quarters.
G