From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.devel Subject: Re: Emacs NS 'scratch/ns/draw-to-bitmap' branch performance Date: Thu, 6 Feb 2020 10:01:56 -0500 Message-ID: References: <20200205231006.GA2736@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000407fe059de990ed" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="113945"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 06 16:03:16 2020 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 1izigW-000TSf-Je for ged-emacs-devel@m.gmane-mx.org; Thu, 06 Feb 2020 16:03:16 +0100 Original-Received: from localhost ([::1]:40572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izigT-00005D-8E for ged-emacs-devel@m.gmane-mx.org; Thu, 06 Feb 2020 10:03:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47676) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izifw-00083q-3I for emacs-devel@gnu.org; Thu, 06 Feb 2020 10:02:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izifq-0000sn-Uj for emacs-devel@gnu.org; Thu, 06 Feb 2020 10:02:40 -0500 Original-Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33]:40614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izifq-0000q7-Ns for emacs-devel@gnu.org; Thu, 06 Feb 2020 10:02:34 -0500 Original-Received: by mail-qv1-xf33.google.com with SMTP id dp13so2976435qvb.7 for ; Thu, 06 Feb 2020 07:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7GIquRpWs4lY4NnT7hrXPxmP3TI2GtvWRvqq3jV0zRA=; b=Z2lQw0NB8enZHmHRWM/wikdgWB9WB7/LRG1w6TuPaJTn6j1q5asEl9YtCHBesbo3zG gYqYHddBSX/Lqut15xzapx60yAB93Z8wT/1wsLeoVjzrqTzDTcc6c7da5UE9nDkCtczo ir879TSpcCOINZfFMVa02oftBJOzWT7TONG6XNmkA5Gy6QjtFxwSrYpZzgPkgFxCuUJE VpWFNlXRynU4cFTXhyaleQ8l72uas/RWPVWhbs+SLmH8fUQ0tNLgkBEp22TOxaXzojHn H27MkZWf5VKx7ouDlDNiSTr2mpyjqjTGYyvfkeSkEFRRAXe5kVM/zoQl8MNhwoAl5QFh BYKA== 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=7GIquRpWs4lY4NnT7hrXPxmP3TI2GtvWRvqq3jV0zRA=; b=gJoEY0w5/SLuZ0yRqS+9Qq/CJ1jeJt2cNyZl3dgh9phrMWvSrbo3Jp7mEGRJ6tIrip O+WYSmydo6C8OeoQqvE0lk7ckmsaQ8++PQf0ujeu1z8K+CBcjRR9Gbu/iqGVLVYr8qu8 G9sW5gTwZhuHTpSFnxOOcOsQzQpzBm53zOwmTjNfaDA/wMQYN8OmW9mAYGPewt7YMvVR izU2/PheQ/n22THo5JDGhMI+CFtc7wGrdMTvaMAdq/ExOol84mkIQC+6XkBxlyo3T3F7 ik6nNJ/c2x5G+AqAj+OPOpcTcA9yUWzrT+OtdRjSIaXTiD6yqx1+rQC7L81iTNSh0rHS 42eQ== X-Gm-Message-State: APjAAAW4N0b+INShJdqEyFpuv25JdlAZcPhaNbfjWBbmp/EBmqV6tCjM rT2tLCtCyomFzOgExG4dAnb96VaDybWO39O8OmisIg== X-Google-Smtp-Source: APXvYqziRgBSJ8pBn7C+HSI+jO/jlGd1gR5gCk5rGMc/rjr8b1a6ZErQcXTH7qsBdZArrz708HKnTWoHE24KYhfHZSw= X-Received: by 2002:ad4:518d:: with SMTP id b13mr2632009qvp.141.1581001352605; Thu, 06 Feb 2020 07:02:32 -0800 (PST) In-Reply-To: <20200205231006.GA2736@breton.holly.idiocy.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::f33 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:244882 Archived-At: --0000000000000407fe059de990ed Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 5, 2020 at 6:10 PM Alan Third wrote: > On Wed, Feb 05, 2020 at 11:00:05AM -0500, Daniel Pittman wrote: > > After building Emacs with the ns/draw-to-bitmap branch merged, on macOS > > 10.15.2, I'm seeing some performance issues. I'd like, Alan, to know h= ow > > you would prefer me to proceed in a way that best helps you (and anyone > > else here) resolve them. > Honestly, though, I=E2=80=99d be happy for you to have a look as we=E2=80= =99re rather > struggling. Using the offscreen bitmap means Emacs doesn=E2=80=99t have a= ny > odd graphical glitches. The other method, described here > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32932#412 > > does have serious glitches but has *much* better performance. OK. I'll see about spending some time in the area, see if I can't improve performance for me and hopefully everyone else. Thanks for the pointers and patches, which I'll play around with, and see what comes of testing them, and additional profiling. I can't promise a strict timeline, as this is a personal time project, but I'm definitely motivated to improve performance here. I'll keep in touch via the list on progress. Thank you for your quick response. --0000000000000407fe059de990ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Feb 5, 2020 at 6:10 PM Alan Third= <alan@idiocy.org> wrote:
<= /div>
On Wed, Feb 05, 2020 at 11:00:05AM -0500, Daniel Pittman wrote:
&= gt; After building Emacs with the ns/draw-to-bitmap branch merged, on macOS=
> 10.15.2, I'm seeing some performance issues.=C2=A0 I'd like, A= lan, to know how
> you would prefer me to proceed in a way that best helps you (and anyon= e
> else here) resolve them.
Honestly, though, I=E2=80=99d be happy for= you to have a look as we=E2=80=99re rather
struggling. Using the offscreen bitmap means Emacs doesn=E2=80=99t have any=
odd graphical glitches. The other method, described here

=C2=A0 =C2=A0 https://debbugs.gnu.org/cgi/b= ugreport.cgi?bug=3D32932#412

does have serious glitches but has *much* better performance.
<= div>
OK.=C2=A0 I'll see about spending some time in the a= rea, see if I can't improve performance for me and hopefully everyone e= lse.=C2=A0 Thanks for the pointers and patches, which I'll play around = with, and see what comes of testing them, and additional profiling.

I can't promise a strict timeline, as this is a perso= nal time project, but I'm definitely motivated to improve performance h= ere.=C2=A0 I'll keep in touch via the list on progress.=C2=A0 Thank you= for your quick response.
--0000000000000407fe059de990ed--