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: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Benchmark Ada, please Date: Sat, 05 Jul 2014 22:09:28 +0300 Organization: Tidorum Ltd Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net uGgqOngJO3V//Lr8z4OETQtauj4SFh7RFKmSFToKt/w18xclTV Cancel-Lock: sha1:ynK2Ot1gtn5JX3nch4kWRBgWbKs= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: Xref: number.nntp.dca.giganews.com comp.lang.ada:187383 Date: 2014-07-05T22:09:28+03:00 List-Id: On 14-07-05 21:50 , Guillaume Foliard wrote: > Niklas Holsti wrote: >>>> On 14-07-05 14:34 , Guillaume Foliard wrote: >>> In the >>> GNAT GPL 2014 environment have a look at lib/gcc/x86_64-pc-linux- >>> gnu/4.7.4/adainclude/a-exetim.adb to notice that yourself. >> >> I believe you. I was asking if you had checked that the two clock >> functions are equivalent. I did not mean to criticize. > > Oops, I was not expecting my sentence could be interpreted as if I was > reacting to a critic. Don't worry, no harsh feelings here... Nor here. > Sorry, I misread your question, here are the full outputs: > > C++: > > $ time ./testc ... > Elapsed time is = 3.11317 > > > real 0m3.126s > user 0m3.113s > sys 0m0.003s > > > Ada: > > $ time ./rbc_ada ... > Elapsed time is = 1.970120151 > > real 0m1.982s > user 0m1.970s > sys 0m0.004s Thanks, that is quite convincing. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .