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.6 required=3.0 tests=BAYES_00,FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP,PDS_OTHER_BAD_TLD,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!aioe.org!ybj4LOzblonr4GOHL83iKQ.user.46.165.242.75.POSTED!not-for-mail From: Fernando Oleo Blanco Newsgroups: comp.lang.ada Subject: Re: GNAT Speed Comparison on Older Intel versus Apple Silicon M1 Date: Wed, 9 Nov 2022 08:38:48 +0100 Organization: Aioe.org NNTP Server Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="34962"; posting-host="ybj4LOzblonr4GOHL83iKQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:64583 List-Id: 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. However, notice that it is running on Aarch64 natively for the M1. Nonetheless, you can run x86 programs with little performance hit thanks to Apple Rosseta. 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