Profiling for run-time checking of computational properties and performance debugging in logic programs


Autoria(s): Mera, E.; Trigo, Teresa; López García, Pedro; Hermenegildo, Manuel V.
Data(s)

2011

Resumo

Although several profiling techniques for identifying performance bottlenecks in logic programs have been developed, they are generally not automatic and in most cases they do not provide enough information for identifying the root causes of such bottlenecks. This complicates using their results for guiding performance improvement. We present a profiling method and tool that provides such explanations. Our profiler associates cost centers to certain program elements and can measure different types of resource-related properties that affect performance, preserving the precedence of cost centers in the cali graph. It includes an automatic method for detecting procedures that are performance bottlenecks. The profiling tool has been integrated in a previously developed run-time checking framework to allow verification of certain properties when they cannot be verified statically. The approach allows checking global computational properties which require complex instrumentation tracking information about previous execution states, such as, e.g., that the execution time accumulated by a given procedure is not greater than a given bound. We have built a prototype implementation, integrated it in the Ciao/CiaoPP system and successfully applied it to performance improvement, automatic optimization (e.g., resource-aware specialization of programs), run-time checking, and debugging of global computational properties (e.g., resource usage) in Prolog programs.

Formato

application/pdf

Identificador

http://oa.upm.es/13783/

Idioma(s)

eng

Publicador

Facultad de Informática (UPM)

Relação

http://oa.upm.es/13783/1/HERME_ARC_2011-3.pdf

http://www.springerlink.com/content/0775077q1765r738/

Direitos

(c) Editor/Autor

info:eu-repo/semantics/openAccess

Fonte

Practical Aspects of Declarative Languages | 13th International Symposium PADL 2011 | 24-25 de enero de 2011 | Austin, Texas

Palavras-Chave #Informática
Tipo

info:eu-repo/semantics/conferenceObject

Ponencia en Congreso o Jornada

PeerReviewed