English

Perfrewrite -- Program Complexity Analysis via Source Code Instrumentation

Programming Languages 2014-09-09 v1

Abstract

Most program profiling methods output the execution time of one specific program execution, but not its computational complexity class in terms of the big-O notation. Perfrewrite is a tool based on LLVM's Clang compiler to rewrite a program such that it tracks semantic information while the program executes and uses it to guess memory usage, communication and computational complexity. While source code instrumentation is a standard technique for profiling, using it for deriving formulas is an uncommon approach.

Keywords

Cite

@article{arxiv.1409.2089,
  title  = {Perfrewrite -- Program Complexity Analysis via Source Code Instrumentation},
  author = {Michael Kruse},
  journal= {arXiv preprint arXiv:1409.2089},
  year   = {2014}
}

Comments

ACACES 2012 summer school (2012)

R2 v1 2026-06-22T05:50:30.842Z