Analysis of technological process on the basis of efficiency criterion