软件性能工程SPE是一种重要的性能分析方法,它将UML顺序图转化为执行图,进而分析软件的性能是否符合期望的指标。然而软件性能工程(SPT)却未给出顺序图到执行图的具体转化方法,在实际应用特别是自动实现时存在一定的困难,文中通过对模型图的形式化定义,提出了一种顺序图转换为执行图的基本算法,并给出了一种基于顺序图的软件性能评价方法。
Software performance engineering(SPE) is an important method of performance analysis, it transforms the UML sequence diagram to execution graph, then analyzes the performance of the software to determine whether it satisfies the expect requirement or not. However software performance engineering has not provided the detail of the tranformation process, as a result, it is hard to perform automatically in application. This paper formalizes the model diagrams, gives a basal arithmetic of the transformation between sequence diagram and execution graph. In addition, a common method of performance analysis is proposed at the end of the paper.