Symbolic profiling for multi-paradigm declarative languages

被引:2
|
作者
Albert, E [1 ]
Vidal, G [1 ]
机构
[1] Univ Politecn Valencia, DSIC, E-46022 Valencia, Spain
关键词
D O I
10.1007/3-540-45607-4_9
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:148 / 167
页数:20
相关论文
共 50 条
  • [1] Multi-paradigm declarative languages
    Hanus, Michael
    LOGIC PROGRAMMING, PROCEEDINGS, 2007, 4670 : 45 - 75
  • [2] Partial evaluation of multi-paradigm declarative languages
    Albert, E
    AI COMMUNICATIONS, 2001, 14 (04) : 235 - 237
  • [3] Operational semantics for declarative multi-paradigm languages
    Albert, E
    Hanus, M
    Huch, F
    Oliver, J
    Vidal, G
    JOURNAL OF SYMBOLIC COMPUTATION, 2005, 40 (01) : 795 - 829
  • [4] Multi-paradigm declarative programming
    Hanus, M
    LOGIC PROGRAMMING - PROCEEDINGS OF THE 1997 INTERNATIONAL SYMPOSIUM, 1997, : 43 - 45
  • [5] Multi-paradigm learning of declarative models
    Ferri, C
    AI COMMUNICATIONS, 2004, 17 (02) : 95 - 97
  • [6] Distributed programming in a multi-paradigm declarative language
    Hanus, M
    PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PROCEEDINGS, 1999, 1702 : 188 - 205
  • [7] Automatic optimization of multi-paradigm declarative programs
    Moreno, G
    ADVANCES IN ARTIFICIAL INTELLIGENCE - IBERAMIA 2002, PROCEEDINGS, 2002, 2527 : 131 - 140
  • [8] Compiling multi-paradigm declarative programs into Prolog
    Antoy, S
    Hanus, M
    FRONTIERS OF COMBINING SYSTEMS, 2000, 1794 : 171 - 185
  • [9] A practical partial evaluator for a multi-paradigm declarative language
    Albert, E
    Hanus, M
    Vidal, G
    FUNCTIONAL AND LOGIC PROGRAMMING, PROCEEDINGS, 2001, 2024 : 326 - 342
  • [10] Improved tupling for optimizing multi-paradigm declarative programs
    González, S
    Moreno, G
    ADVANCES IN ARTIFICIAL INTELLIGENCE - IBERAMIA 2004, 2004, 3315 : 419 - 429