Software performance testing in virtual time
Tony Field, Department of Computing, Imperial College, London
ABSTRACT
We address the issue of continuous performance testing and describe an extension to traditional unit testing frameworks that facilitates the simultaneous testing of behaviour and performance, by embedding performance models in mock objects. A key technical challenge is to overcome the impedence mismatch which arises when code that is executing in real time has to communicate with performance models that execute in virtual time. Solutions to this problem naturally facilitate virtual time scaling of both real code and performance models. We also explore applications of such time scaling in software performance testing and optimisation.