From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Alejandro R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Ada Annoyances Date: Mon, 26 Jun 2017 13:15:10 +0200 Organization: A noiseless patient Spider Message-ID: References: <1ac5a44b-4423-443a-a7bb-2864d9abe78f@googlegroups.com> <1498048151.20885.28.camel@obry.net> <36349149-4ef2-4a81-8360-a0fd24ba7625@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 26 Jun 2017 11:11:27 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="badc38df71d87ffb513e9887a5543677"; logging-data="317"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wAclvzOekeoaHbcEHFR3U" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 In-Reply-To: <36349149-4ef2-4a81-8360-a0fd24ba7625@googlegroups.com> Content-Language: en-US Cancel-Lock: sha1:tXk1IQT78DwsztdaABXZaDX8VZ0= Xref: news.eternal-september.org comp.lang.ada:47123 Date: 2017-06-26T13:15:10+02:00 List-Id: On 26/06/17 13:01, Vincent wrote: > Hello Pascal, > > Nice to meet you on this forum ! > >> So do check for performance when the application actually run. > How can I do this ? Is there a package that allows an easy instrumentation of the code, providing traces in real time ? Not in real time, but for post-mortem you can use regular profilers. I only have recent experience with valgrind. For real-time profiling I heard aeons ago about oprofile. No experience with it... I too have to fight the premature optimization urge. But now that I've limited time or patience for code trickery it is easier to just focus on correct, maintainable code, and leave optimizations for whenever they make themselves clearly necessary ;) Alex. > > Kind regards, > > Vincent >