Performance analytics for production and machines