Performance Estimation Using Symbolic Data

  • Jian Zhang
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8051)


Symbolic execution is a useful technique in formal verification and testing. In this paper, we propose to use it to estimate the performance of programs. We first extract a set of paths (either randomly or systematically) from the program, and then obtain a weighted average of the performance of the paths. The weight of a path is the number of input data that drive the program to execute along the path, or the size of the input space that corresponds to the path. As compared with traditional benchmarking, the proposed approach has the benefit that it uses more points in the input space. Thus it is more representative in some sense. We illustrate the new approach with a sorting algorithm and a selection algorithm.


Input Space Performance Estimation Array Element Symbolic Data Sorting Algorithm 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Boyer, R., Moore, S.: A fast string matching algorithm. Comm. ACM 20, 762–772 (1977)CrossRefzbMATHGoogle Scholar
  2. 2.
    Cole, R.: Tight bounds on the complexity of the Boyer-Moore string matching algorithm. In: Proc. of the 2nd Symp. on Discrete Algorithms (SODA 1991), pp. 224–233 (1991)Google Scholar
  3. 3.
    Geldenhuys, J., Dwyer, M.B., Visser, W.: Probabilistic symbolic execution. In: Proc. of the Int’l Symposium on Software Testing and Analysis (ISSTA 2012), pp. 166–176 (2012)Google Scholar
  4. 4.
    Hoare, C.A.R.: Proof of a program: FIND. Commun. ACM 14(1), 39–45 (1971)CrossRefzbMATHGoogle Scholar
  5. 5.
    King, J.C.: Symbolic execution and program testing. Commun. ACM 19(7), 385–394 (1976)MathSciNetCrossRefzbMATHGoogle Scholar
  6. 6.
    Knuth, D.E.: The Stanford GraphBase: A Platform for Combinatorial Computing. ACM Press (1994),
  7. 7.
    Liu, S., Zhang, J.: Program analysis: from qualitative analysis to quantitative analysis. In: Proc. of the 33rd Int’l Conf. on Software Engineering (ICSE 2011), pp. 956–959 (2011)Google Scholar
  8. 8.
    Ma, F., Liu, S., Zhang, J.: Volume computation for Boolean combination of linear arithmetic constraints. In: Schmidt, R.A. (ed.) CADE-22. LNCS, vol. 5663, pp. 453–468. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  9. 9.
    Zhang, J.: Quantitative analysis of symbolic execution. Presented at the 28th Int’l Computer Software and Applications Conf. (COMPSAC 2004) (2004)Google Scholar
  10. 10.
    Zhang, J.: Constraint solving and symbolic execution. In: Meyer, B., Woodcock, J. (eds.) VSTTE 2005. LNCS, vol. 4171, pp. 539–544. Springer, Heidelberg (2008)CrossRefGoogle Scholar
  11. 11.
    Zhang, J., Liu, S., Ma, F.: A tool for computing the volume of the solution space of SMT(LAC) constraints, draft (January 2013)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Jian Zhang
    • 1
  1. 1.State Key Laboratory of Computer Science, Institute of SoftwareChinese Academy of SciencesBeijingChina

Personalised recommendations