A comparison of performance and accuracy of measurement algorithms in software