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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c8550b9f2cf7d40 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-10 12:00:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Is ther any sense in *= and matrices? X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc52.ops.asp.att.net 1055271634 12.234.13.56 (Tue, 10 Jun 2003 19:00:34 GMT) NNTP-Posting-Date: Tue, 10 Jun 2003 19:00:34 GMT Organization: AT&T Broadband Date: Tue, 10 Jun 2003 19:00:34 GMT Xref: archiver1.google.com comp.lang.ada:38926 Date: 2003-06-10T19:00:34+00:00 List-Id: To summarize some of the benchmarks of A=A+B vs A+=B, 3x3 matrices, 10**7 iterations A=A+B A+=B ratio 55 19 2.9 Russ's special code on Sunblade, slightly faster than an 866MHz Pentium III according to http://www.phys.ocean.dal.ca/~kelley/linux/benchmark/benchmark_POM.html 4.4 3.3 1.3 MSVC++5.0 simple code on Tom's 866MHz Pentium III 1.4 0.8 1.6 Gnat 3.15p on Tom's 866MHz Pentium III 1.1 0.7 1.6 g++.5.8 (GCC) 3.2.2 using C templates on Hyman's "Sun workstation", speed unspecified 0.45 0.18 2.5 Ole-Hjalmar's machine ? gcc Ada or C the same?