From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.devel Subject: Re: macOS metal rendering engine in mac port Date: Sun, 23 May 2021 17:04:37 -0700 Message-ID: References: <831r9xjrho.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8353"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , YAMAMOTO Mitsuharu , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 24 02:06:08 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lky6i-00023o-6N for ged-emacs-devel@m.gmane-mx.org; Mon, 24 May 2021 02:06:08 +0200 Original-Received: from localhost ([::1]:60272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lky6h-0000Rz-6c for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 20:06:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lky5U-00085s-LT for emacs-devel@gnu.org; Sun, 23 May 2021 20:04:52 -0400 Original-Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:35426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lky5S-00061R-EJ; Sun, 23 May 2021 20:04:52 -0400 Original-Received: by mail-pf1-x429.google.com with SMTP id g18so17722113pfr.2; Sun, 23 May 2021 17:04:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BMl7ybVjVFY13a1U4BIB3Y5vWslrurSrA+U/PhY4gIo=; b=SRJnHJSY1QWSlKzb30oF22VCr+B2W6eYMbL5i/+0NlKaaRuPg3+vnZwlqvfVjx8Dya GroKNHdav/WACHXDA+5jaqq8jBy5MBNaZJvmUic4o+yuqpK5EeUS9TXarTn5E+HqO1XK aIf4fP0qCVPsGPuCvjOjxAfcGH05SSGhmbn6Hwqu/grjBywoHMUE2ZhW8QOrdKRXNUdR IFypq/CssljbyvuCJyec2gtsd902cBDgo9/c62pYjYGFXJpO2yu71mUOe4rLuvV/kr4k RKQ3F3YZFWY3T/J1599tQmh6H9fj/7xwocnl3IHHqzycn7YdR8Tn0Ao8CQWTU4t3NUde KvRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BMl7ybVjVFY13a1U4BIB3Y5vWslrurSrA+U/PhY4gIo=; b=tsfo667vGWqkSvdFnD+dHKsChatujdXr0I4FybcPHsN62gC01uK5bBaz2CTTjJ1KGY Oyewcnzqbgv6K5hXLtDl8cwiAQGXfjLM/lT34V7NDyyj8OE6GW8MGRnVEib/f48+Neum tN2SOlQlpjCPyE29MQeXGha4BGiljXGHOz+fYVExnY28RUKH5xMVljVyiOSqBroj84LS fM0IK7Lk79PnTFTcVh/OBZsKrjQlZnLgoxbtb1GybzQuedDXMF2Ni7GMlP8QyC5bL0v4 fyVjZM+NmisRCjFZgUmn8C9J9UqhUhHwD0/FXimNroX4LY2PQo3t49vv5OMilMj65ZUm Wh5g== X-Gm-Message-State: AOAM5337CxmRIAaf52I62S3zvpHiE+3eiu8x9GhGDyQBqUienYnKw1vP 1hp3IOWkDZMzgImn5o1WxH1s2xGhUtQ8Q6tD/nFvUZ9aTRE= X-Google-Smtp-Source: ABdhPJw4nga5B7Clb9u+wll7/NP4U2662aK2U15RN/Oapex3mPoBe9vfre4djjXSHClIgH67hB6PMdvwDY7+v6C9JTM= X-Received: by 2002:a62:c541:0:b029:2e8:c7c7:d96e with SMTP id j62-20020a62c5410000b02902e8c7c7d96emr3804239pfg.26.1621814688055; Sun, 23 May 2021 17:04:48 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=aaronjensen@gmail.com; helo=mail-pf1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269730 Archived-At: On Sun, May 23, 2021 at 5:00 PM Aaron Jensen wrote: > > On Sun, May 23, 2021 at 11:38 AM Aaron Jensen wrote: > > > > I'll see if I can track down what makes such a big difference in my config. > > Hi Eli, > > Okay, so something interesting is going on here. It appears that > performance on the scroll benchmark degrades as I load more packages. > > For example, with emacs -Q if I run the benchmark on xdisp.c I get > 3.4s (no line numbers). If I then open an org file and require > org/start org-mode, then kill that buffer and go back to xdisp.c I get > at best 4.15s. That's a pretty big difference for just having loaded > org, I think. Ugh, actually I can't reproduce this anymore in emacs -Q, sorry for the noise. I definitely see it in my own config -- as I remove org related packages and configuration things speed up, but I've got to do more work to narrow it down further to exactly what it is. Removing all of my org related configuration dropped me from 7.57s to 5.3s in the xdisp.c test... which obviously isn't an org file, so something odd is still going on.