Symbolic Profiling for Multi-paradigm Declarative Languages

  • Authors:
  • Elvira Albert;Germán Vidal

  • Affiliations:
  • -;-

  • Venue:
  • LOPSTR '01 Selected papers from the 11th International Workshop on Logic Based Program Synthesis and Transformation
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present the basis of a source-level profiler for multiparadigm declarative languages which integrate features from (lazy) functional and logic programming. Our profiling scheme is symbolic in the sense that it is independent of the particular language implementation. This is achieved by counting the number of basic operations performed during the execution of program calls, e.g., the number of unfolding steps, the number of matching operations, etc. The main contribution of this paper is the formal specification of the attribution of execution costs to cost centers, which is particularly difficult in the context of lazy languages. A prototype implementation of the symbolic profiler has been undertaken for the multi-paradigm language Curry. Preliminary results demonstrate the practicality of our approach and its applications in the field of program transformation.