Prediction of cost and performance of cloud applications