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 21:44:58 -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="3015"; 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 Sun May 30 06:46:04 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 1lnDKs-0000cj-9M for ged-emacs-devel@m.gmane-mx.org; Sun, 30 May 2021 06:46:02 +0200 Original-Received: from localhost ([::1]:45056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnDKr-0002si-8H for ged-emacs-devel@m.gmane-mx.org; Sun, 30 May 2021 00:46:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnDK6-0002Cp-Jl for emacs-devel@gnu.org; Sun, 30 May 2021 00:45:14 -0400 Original-Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:41862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnDK4-0001kw-UN; Sun, 30 May 2021 00:45:14 -0400 Original-Received: by mail-pj1-x102b.google.com with SMTP id b15-20020a17090a550fb029015dad75163dso4807354pji.0; Sat, 29 May 2021 21:45:11 -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=GnjTEvjQlMikHwx25bQQWGhPTRJI4KCVZxppIkjDEk4=; b=szD4+B+2JPQge3sD8qMCd74X7nikqJZ9jfdkNxSILI1Mg+aoqN2U2nybkROG1O+v5N 9Em3z33oTysHx+bsYt1T/fctpGn5GFRZqCVYeOxmIQ4OvSxnKl/CSaVCtSKab+jJfghp 5X/cqs+wqai0N0sR0dZh8TMNYul9p9azY8JSt2govvgDHmhMJxTeM+AcDtg1/i1nCsED HANmYmME9FRJ/fJxoQeHKHpK9vPxj119irWHMKtz8Je8mMKklQU8EqTzwjoqGUWu4mNh UX/sdR6jhGlVSL0IbEVA+69wQH7RXp5GaYfKyBpnKSOHiNPJxJJFddA/s2VcsrzAcCbd ZH9g== 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=GnjTEvjQlMikHwx25bQQWGhPTRJI4KCVZxppIkjDEk4=; b=l14GIlYwnpbwA1r164GPQJAhIPwFEHW5wUiXcaIu4K7JUsm2QtiIvUbJOpIiIoywbc Qza0HyXiVmiswp3+hD/NbbEk9W2L+Dqn2gxuOH5thxUPvYDAJ4iuK0IeDcwMMEsWi5bT Mhu8iH71w0ehYSkf0qeYipngN4DhVpsCmTMWB5ItSKTr0qvExsySK2Y3olj4f8r2ukbL tTq5PS9XB7e95fighaH8RpOvKI/LUVljHvOJRWG37snbtQSKAla3iKB1+g5ufDVl4Ur5 z8Z2x7ptdCwcl2EEDpkQPlYyeSiMVhIFAm8ov2baX2Yv5hhjg9Z/vHDoYsmIT7USMVPu t0EA== X-Gm-Message-State: AOAM530osWJN7AMi1zoY+2pA1eH9kK9Bjz3aP8QXsNTwJ5RYgPlNBrV7 4xdtVMaNgA4S5SbPLVewehaasAwt3tqqgPBLE/it3gI8Lss= X-Google-Smtp-Source: ABdhPJw5LVaTGNwhRDCxUVbtGQRRQorcIoF8OA+GALmAJa/g1cHHHDkiMhlxkbrhClS+hGuGAHYGG2KQAH0LUs9fdoQ= X-Received: by 2002:a17:90b:350a:: with SMTP id ls10mr12661492pjb.181.1622349909785; Sat, 29 May 2021 21:45:09 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=aaronjensen@gmail.com; helo=mail-pj1-x102b.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:270109 Archived-At: On Sat, May 29, 2021 at 2:40 PM Aaron Jensen wrote: > > 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? Okay, thankfully I can no longer reproduce the difference between native and not with alists. I must have had something else built that I ran that on. No idea what. But I built both fresh and they're both similar to the native comp numbers I posted. So, please disregard the "No Native Comp, alist" numbers. Native comp doesn't appear to make much of a difference whether or not I'm using hash or alist.