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: Sat, 29 May 2021 14:40:09 -0700 Message-ID: References: <83k0ni6pje.fsf@gnu.org> <83eedq6mvm.fsf@gnu.org> <83zgwd6gk3.fsf@gnu.org> <83bl8t5vu6.fsf@gnu.org> <83a6od5tqh.fsf@gnu.org> <834kel5qp3.fsf@gnu.org> <83zgwd489j.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="29973"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 29 23:41:35 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 1ln6i7-0007je-Ga for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 23:41:35 +0200 Original-Received: from localhost ([::1]:42930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln6i6-0005EP-IY for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 17:41:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln6gx-0004Nw-VA for emacs-devel@gnu.org; Sat, 29 May 2021 17:40:23 -0400 Original-Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:42780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ln6gw-0006yF-DP; Sat, 29 May 2021 17:40:23 -0400 Original-Received: by mail-pl1-x632.google.com with SMTP id v13so3291051ple.9; Sat, 29 May 2021 14:40:21 -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=nTbU8Hbq9+eZatqUNV2ws1HRsEo6h9c/ir6eZKfGlv0=; b=gezCAIsyIuFoa9FUXz2acR1sFFr++9blBl3ufClZOa2rrrL+a2BXDns+9/BYdQma8G fIiyudUx61ovSHK861Odm9bkh72k2KovNet4KSB7b6cimTeZjIE4F7XorUGEAryHnjVi ZsXjsj9pp58ry6V5ch5sTgeuzP8dO/QTeTzEWst0MF3KnrLPzNEtB/6YnVhmtFFU2Yfk yrzTTiKzbq0SC9Nj8XHIJQ3vI4P2S7GW2GG7033Ohq/NTAFRjN6ZDguI/8o/ScJMFMIm YezLmE4BsDHTwPjYxdT3S9Dn8ACsRunMxQsOLJPY+H4pYG1D0RakPoa3MKsUuKNq4JwP ctlg== 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=nTbU8Hbq9+eZatqUNV2ws1HRsEo6h9c/ir6eZKfGlv0=; b=AaZ3YA/8dxs6G8VmXpGGpotY7IiSE6QusMBT3mXgqZ/vv320mNrHPmvWIrFyxinoKO MWBxPAvwHPQPZWsvdrMsUJp/HXyryZlrJ+8wBqvi0zYLY2kOv5pSuR3taaqNoOe5oESt /1BHMgXoPNffgPHWQupYQyaHVdjabmsHwel5BwInaXPXWq8Z2jNPSu6ziRYWBbVizVqO kVMhEljJe1AH4HseeOlcLE7tv1/fKJfszvuIIsCB3XYeWuYe2qJ9LwjnCzEldeUZ3mzv K/6oSdydkjFkYH1ty93ITWomG/RrkIiiKbSVNGS6p4nHaOMQ8oJYaoeZCN97No0mKP+t w+Fw== X-Gm-Message-State: AOAM531tLHZmNL2aorn0ELc1ESwZZuR+2VqmQwWHPspeH7ow4epgBHhu PvqM0SjXj1GzOsYjdHegG+WqPBbPPPCqHj/bdxNTJv9woBll9w== X-Google-Smtp-Source: ABdhPJxxcYIv7Kw9X7M24KgDh5As2hTxC+b3l4Uf5hZcfXaoYRzbpFCaYy6GWxswfuX7hdDIeukRmbSOmKqHWY/+uUY= X-Received: by 2002:a17:90a:9511:: with SMTP id t17mr11474453pjo.108.1622324420071; Sat, 29 May 2021 14:40:20 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=aaronjensen@gmail.com; helo=mail-pl1-x632.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:270100 Archived-At: Here's another benchmark: (defun type-benchmark () (interactive) (let ((oldgc gcs-done) (oldtime (float-time))) (cl-loop for x from 1 to 300 do (insert-char ?j) (redisplay)) (message "GCs: %d Elapsed time: %f seconds" (- gcs-done oldgc) (- (float-time) oldtime)))) All with Surface stuff branch and -O2. With Native Comp, Hash, and line numbers: 1630ms With Native Comp, Hash, and no line numbers: 874ms With No Native Comp, Hash, and line numbers: 1712ms With No Native Comp, Hash, and no line numbers: 900ms With No Native Comp, alist, and line numbers: 2368ms With No Native Comp, alist, and no line numbers: 1062ms With Native Comp, alist, and line numbers: 3321ms With Native Comp, alist, and no line numbers: 1333ms So according to this, native comp is slower for me in this typing test but only if alists are used? That's surprising right?