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:00:03 -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="26229"; 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:01:10 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 1lky1t-0006iZ-NC for ged-emacs-devel@m.gmane-mx.org; Mon, 24 May 2021 02:01:09 +0200 Original-Received: from localhost ([::1]:58208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lky1s-0007Ag-Mv for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 20:01:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lky14-0006GH-Lx for emacs-devel@gnu.org; Sun, 23 May 2021 20:00:18 -0400 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:54851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lky12-00044C-Pn; Sun, 23 May 2021 20:00:18 -0400 Original-Received: by mail-pj1-x1032.google.com with SMTP id g24so13794727pji.4; Sun, 23 May 2021 17:00:15 -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=dM1ErXpNQzMYkf23llvEQUcav9cNzrcYUuYXQO07gyo=; b=i1H/uHUAx8Q71r2ilniermLXB7PGmj+844tlVMepetQ+Xnzmv8MN7sRUoN7eihy+uc fgqfDw/fLVoUxDxwcB0SYuyzpK/RZ00uLcTUlbgHTJErKbt3hK3LsuTVWACzRFMEBMLK dzZw89lpi9d9Xy8uMEsqo4F+uMlYhsBRvCpDG40kEezctpOC/1c6cJqtRHciSfGXQ6dV XwORt5SH/Q4LJIU2BJmGNBWiNNyX+nEmRIjEGc1soANmRPQADYu5ZfGt7PMqy1M0bBYA LS/sxmk490SYyTcflWZVdebNjbPHR0vLE4uEfiA9CmKjYHsI4pcTaj46Uws6D8VJgGE8 1FKg== 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=dM1ErXpNQzMYkf23llvEQUcav9cNzrcYUuYXQO07gyo=; b=S/3lvShuJlIRtxnVprdjOL52BVjnnT+gj3EzBNSK31JeK552QthPuEpahPJJJefu5e 07JlzNzI1O5t9X7GEO3wz4L4Gr6+vn7wcEa7i0Htd4bdCzYO33c+Za6v1/7Ul7RZgSL1 gGsqQ6xwj/X6QIH8j3HBrYmUy5lhoF3lgRKuIIyCPqVa40KCW76WVEpUnk7X7jm8x2Nm cie0W+wGSRweR942vdGKxj38ky+FPnTf0rFF54ra+Va8lvryJ1yLL7RZzG1I+II9ng1i A98LTReSqlnfs++lhyzH5H6Hv95xlRixEcs28eJQGQBCc18+2sWlJlRX2mmZps6NtBLn xzhA== X-Gm-Message-State: AOAM532Z+ySTFMezGSPVJIa8izNWHA2//i/zZ+xEt2iZa630ctvHwRn/ DHtzkF1znot0bdnUgSWQH/7uFiZpXWKkJh6rkZSXiuKjaWs= X-Google-Smtp-Source: ABdhPJyWFRHZxYJlc93EQHJIpLUUOWc9Erzn7SJ0ffTZC2K6YICnf5uHUeJfQkv0a1AUPLcWeu3YdXXqKSlkQfxe7S0= X-Received: by 2002:a17:90a:e50b:: with SMTP id t11mr22082461pjy.181.1621814414191; Sun, 23 May 2021 17:00:14 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=aaronjensen@gmail.com; helo=mail-pj1-x1032.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:269729 Archived-At: 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. Is that expected? Some other things I've found, starting at 11.98s w/ my config: Disabling my theme: 10.95s Disabling GCMH (I know you don't recommend this anyway, but it's helped with some stutters): 8.55 Reverting to default font: 8.24