From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=2.0 required=3.0 tests=BAYES_40,FREEMAIL_FROM, PDS_OTHER_BAD_TLD,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Received: by 2002:ae9:ed06:0:b0:6f9:efd2:9b96 with SMTP id c6-20020ae9ed06000000b006f9efd29b96mr47807318qkg.651.1668061578487; Wed, 09 Nov 2022 22:26:18 -0800 (PST) X-Received: by 2002:a05:622a:5c0e:b0:3a5:280d:9fc7 with SMTP id gd14-20020a05622a5c0e00b003a5280d9fc7mr43221521qtb.388.1668061578276; Wed, 09 Nov 2022 22:26:18 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 9 Nov 2022 22:26:18 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=174.26.235.106; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG NNTP-Posting-Host: 174.26.235.106 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9d997caf-b1ba-477e-8e17-bbb87a78448dn@googlegroups.com> Subject: Re: GNAT Speed Comparison on Older Intel versus Apple Silicon M1 From: Jerry Injection-Date: Thu, 10 Nov 2022 06:26:18 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:64585 List-Id: On Wednesday, November 9, 2022 at 12:38:51 AM UTC-7, Fernando Oleo Blanco wrote: > Hi Jerry, > > taking the results from Geekbench: [1] for your current MacBook and [2] > for the M1 MacBook from 2021; the results show that single core > performance of the M1 MacBook Pro is about 6.4 times faster. That's a great site. Thanks. Clicking around a bit I was able to find separate comparisons for single-core floating point and the speed-up is 5.2. > > However, notice that it is running on Aarch64 natively for the M1. GNAT compiles to Aarch64 now, right? > Nonetheless, you can run x86 programs with little performance hit thanks > to Apple Rosseta. "little performance hit" compared to Intel code running on Rosseta versus Intel silicon or compared to native ARM? And I wonder how long until Apple takes away Rosseta this time? Last time it was two OS updates and then, poof, gone. > > Also, GNAT afaik, allows for parallel computations using tasks. The > multicore performance gain between the two models is about 24x. > > There results are however just an average. Maybe your program does not > see such improvements as it may bottleneck earlier or it may see greater > gains. > > Regards, > > [1] https://browser.geekbench.com/macs/macbook-pro-early-2008 > [2] https://browser.geekbench.com/v5/cpu/18518008 > > -- > Fernando Oleo Blanco > https://irvise.xyz