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 10:06:35 -0700 Message-ID: References: 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="15756"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Third , Aaron Jensen , emacs-devel@gnu.org, YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 23 19:07:34 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 1lkrZe-0003y2-Fx for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 19:07:34 +0200 Original-Received: from localhost ([::1]:35584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkrZc-00051U-Jn for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 13:07:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkrYv-0004MP-SJ for emacs-devel@gnu.org; Sun, 23 May 2021 13:06:49 -0400 Original-Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:33469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkrYu-0004oP-Du for emacs-devel@gnu.org; Sun, 23 May 2021 13:06:49 -0400 Original-Received: by mail-pf1-x42c.google.com with SMTP id f22so10519651pfn.0 for ; Sun, 23 May 2021 10:06:48 -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; bh=6zrOU5Wh9On4W8zrgdm0oQw1UvTM9exUVL76uzmUz9A=; b=k/mb/QFLb54N45aI+z4ztUUsw0FFGhTlByisOF8CNikZL4dRO0YkGm/I/XVXFo2vyj lFdvIUv7I7EygNSRHtB7rDm+gAXSeyJcbeeuvfs00xGwobkv4WqT2sJIJz4USSncvqAX pVneRxV1RQAaBHKSVxPACjekr2nXYq4o6pygHwc5B+SA8tuJQ8IIZRYmkc2J69+eQNdA caaUTD6VYqqNut/QoNgUtq45VjZ/4pfYaX3fEf2s1jxRAxWN3NasagsmUu9adqi/pRpp OZUkn2GrBQntADlE4zPhLKlkdLhLJ827W3N2Yi7Q9XDmHVACEiznLb+1WcL7D/FIiWtk BkwQ== 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; bh=6zrOU5Wh9On4W8zrgdm0oQw1UvTM9exUVL76uzmUz9A=; b=PFY0H9KMHQSCOy9GDWmglPVSPFov82SqkqZGVVpWSkOCRHZ8OpOd0uy67sM+2WdlqY ReDMxAy/7abNbS87vXkPOjNlYGysc1XDWy3ozWejo8W68z9zk9rxCMCreVIn9Sa5a7ue DQkz0CQA44oZl/FZOAr5U28YDV91qMYeqTjd4+Ps3NZMw6mYeqABSZL9tuLyGrGQ3UyD umd36vtVvNN2/CWY/ZqwsrRrQrHC9Hebcc88dylXRlTpBlJKHDp106Ma3jsYGGN+nuXm tfTJgM+/SGUzzAnCuIqEdxNNIh9qAyRe0Zh4dZPAtn/e6DGXrGP2oyN7S1JrqUDmHxmb zj3w== X-Gm-Message-State: AOAM530yEHYjqUzAXcJ4hI9yIbt7rPcKJxkIp8YhLhiYdWXDaEtuAPbK y1b0iqJRGHzX35RazAECbmMF2Bu+eH4X5IODuck= X-Google-Smtp-Source: ABdhPJxaJ/RETq6hnxiZXIycuM2wvl+25WEPHdf5ghHj89NC65mISM7VSNmsACybj7JCPFKjI0fjHPUGELV3yW92etk= X-Received: by 2002:a62:c541:0:b029:2e8:c7c7:d96e with SMTP id j62-20020a62c5410000b02902e8c7c7d96emr2610367pfg.26.1621789607053; Sun, 23 May 2021 10:06:47 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=aaronjensen@gmail.com; helo=mail-pf1-x42c.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:269680 Archived-At: On Sun, May 23, 2021 at 9:13 AM Aaron Jensen wrote: > > I've been using it and haven't seen any flickers. I'll continue using > it and report back. I probably would have seen one by now. So one important note, I'm selling my 5k2k giant monitor so it's boxed up (if anyone is interested, email me :) ). I'm on a 24" 4k monitor now running at 1920x1080 scaled, whereas before I was at 3008x1269. So, this morning when I run the scroll-up-benchmark it does what the macport did. That is, it looks like it hangs for a second, shows maybe 1 or two scrolls and then jumps to the bottom. I get roughly 2.3s w/ line numbers and 1.16 without. On the new surface-stuff branch, I get 4.7s w/ line numbers and 2.98s w/o. And for Eli, just to be sure it's not my theme causing issues w/ line numbers on Emacs 28 here's a comparison using the default Emacs theme: 5.45s w/ line numbers and 3.97s w/o It's slower than my theme likely because my theme includes a much more minimal mode-line (actually, it's a header-line with a nil mode-line). Holding a letter test (line numbers on): Emacs 27 rendering: 601 593 604 (avg 599) Emacs 28 surface stuff branch: 589 595 595 (avg 593) Those are likely just actually hitting the cap of my repeat rate and the variation is because I'm just watching a stopwatch for the test. Holding next line (line numbers on): Emacs 27 rendering: 568 576 (avg 572) Emacs 28 surface stuff branch: 378 386 (avg 382) 27 just about keeps up w/ key repeat rate I believe, whereas 28 is slower. Just in terms of typing, I can't say I can feel a difference between the two. They feel similar from my limited time typing on this monitor. Aaron