Loading...
Please wait, while we are loading the content...
Similar Documents
Profiling Prolog Programs (1983)
| Content Provider | CiteSeerX |
|---|---|
| Author | Debray, Saumya K. |
| Abstract | : Profilers play an important role in the development of efficient programs. Profiling techniques developed for traditional languages are inadequate for logic programming languages, for a number of reasons: first, the flow of control in logic programming languages, involving backtracking and failure, is significantly more complex than in traditional languages; second, the time taken by a unification operation, the principal primitive operation of such languages, cannot be predicted statically because it depends on the size of the input; and finally, programs may change at runtime because clauses may be added or deleted using primitives like assert and retract. In this paper we describe a simple profiler for Prolog. The ideas outlined here may either be used to implement a simple interactive profiler, or be integrated into Prolog compilers. 1. Introduction Profilers play an important role in the development of efficient programs. It is often not possible to anticipate, beforehand, wha... |
| File Format | |
| Volume Number | 18 |
| Journal | Software Practice and Experience |
| Language | English |
| Publisher Date | 1983-01-01 |
| Access Restriction | Open |
| Subject Keyword | Prolog Program Important Role Traditional Language Logic Programming Language Efficient Program Unification Operation Principal Primitive Operation Simple Profiler Simple Interactive Profiler Introduction Profilers Prolog Compiler |
| Content Type | Text |
| Resource Type | Article |