From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 29471 invoked from network); 15 Apr 2020 13:55:07 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with UTF8ESMTPZ; 15 Apr 2020 13:55:07 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1jOiUl-0001I2-OO; Wed, 15 Apr 2020 08:54:27 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jOiUh-0001FB-56 for ding@lists.math.uh.edu; Wed, 15 Apr 2020 08:54:23 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jOiUf-00029s-P0 for ding@lists.math.uh.edu; Wed, 15 Apr 2020 08:54:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=b0nzXVJ+QXyNZFPH6kkbATtHuFMO2k3/3rgOIFR3mNY=; b=WKW5umkEtXAC1W+G2fClhNdI6T 0x9XJPdOmhQw9bqHp6OcAosYt0H5lCVOFjB3FUC5VqWTqikfcAGnR7S3nlEVtOxSU0SCeZOpb6fNS pIGy61aMvLyr3sY3A0CQICs10hVU1OxPaUJ1LD/HTn+y5JOEoNsEZ8PpECHi485tCLGU=; Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jOiUY-0007Cd-UD for ding@gnus.org; Wed, 15 Apr 2020 15:54:17 +0200 Received: by mail-wm1-x335.google.com with SMTP id y24so19165155wma.4 for ; Wed, 15 Apr 2020 06:54:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=b0nzXVJ+QXyNZFPH6kkbATtHuFMO2k3/3rgOIFR3mNY=; b=UeMo1MR5VmxNnPY1bexWvOgzOhbgyRspEFjmqGFn41AJmrff5yxCCv5k2VOuXdkjuT PtU9E+lxerNa9ePfzJy9A21XNcw0euqBA9wSjSC5qzQ8nS1/Pd8N+ARXuhjS8QPIIxgQ EaOa5qsoz9gjkLmNxOwUpVMgjIGey5/RBIK3SGwM71z2npeTVlW3WTUfocMmfoKxsV8l Pcx0j5rzPVfLJK/wMOQpqkPOrOWPoLUHeZz/hj7QJXuzR9+WavskG0bJMEeiQJL/fPA+ gxVhZQwN5NRqIyunSEg49LtEOtlNJC85DZHUI97qLGHHWTuS/73lWglz9ZmS0IfQ/it0 HR+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=b0nzXVJ+QXyNZFPH6kkbATtHuFMO2k3/3rgOIFR3mNY=; b=pKWuR8AiW+NVdNDh5gggUPfRUA/KXAszwARGc8naEpkAZP531G2iWikEioUPpNk2hJ ymRXCzLCl+BXjR+4XrgkXZYYOoNEfsF9eS3vhmCo3u0ZQbzZZzMNHEafCa2QW+ay2Dc2 qT1Qr4SxhQVUY0c03kkjZx4YPjs/AxkxFZDnwL0XutWcYJWylq0ggAbYHlqsNmzOmRJ+ gwV05zd4CRpeL8ctGxS8YDuSG9pCvFmplFuJ1IKJSBVAeX69x8aa83mUUPdx6S/em409 Ro40sypH/7Dt/sv0LHTsyYbrgqXJg4oIZor1QPQAWIcS3+TdQK6sfEzGPlz65jHr4YMp KnmA== X-Gm-Message-State: AGi0PuYdfXAnaLY0TPHdSz2MNVU4VFQQBTea+8kNIWuRyljS792Sq0Zr U4vS4ZwSK6iXiBdpNSFaC9Q= X-Google-Smtp-Source: APiQypK77hS/Rx+69bMX23UocGJctoIzWS8qB+eFP4ZmTfjiZGjR7+T3JKvCZY0cUOw+SUpgVZ0QkA== X-Received: by 2002:a1c:e242:: with SMTP id z63mr5564115wmg.72.1586958853454; Wed, 15 Apr 2020 06:54:13 -0700 (PDT) Received: from rpluim-mac ([2a01:e34:ecfc:a860:d25:1399:af8a:f424]) by smtp.gmail.com with ESMTPSA id t20sm88736wmi.2.2020.04.15.06.54.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 06:54:12 -0700 (PDT) From: Robert Pluim To: Eli Zaretskii Cc: asjo@koldfront.dk, ding@gnus.org, emacs-devel@gnu.org Subject: Re: Rendering regression in Gnus with gnus-treat-from-gravatar References: <877dym5fes.fsf@tullinup.koldfront.dk> <87d08ejbmj.fsf@tullinup.koldfront.dk> <87r1wq55xk.fsf@tullinup.koldfront.dk> <83h7xlgk6k.fsf@gnu.org> <83d089ges8.fsf@gnu.org> <83blntgdoy.fsf@gnu.org> Date: Wed, 15 Apr 2020 15:54:09 +0200 In-Reply-To: <83blntgdoy.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 15 Apr 2020 15:01:49 +0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk >>>>> On Wed, 15 Apr 2020 15:01:49 +0300, Eli Zaretskii said: >> where the gravatar thread is doing 'condition-wait' on that same >> condition var. Except that it then fires off an asynchronous url >> request, so perhaps that=CA=BCs the slow bit. Eli> You could put a breakpoint before and after the URL request, and t= hen Eli> see which part takes time. I=CA=BCll try that. >> Or it=CA=BCs the interaction with redisplay that=CA=BCs slow Eli> What interaction is that? The url request fetches some image data, and inserts that in the Gnus article buffer. It won't get shown until redisplay runs, which means the main thread has to run. It=CA=BCs not yet clear to me from which thread that insertion eventually gets done, maybe some more calls to thread-yield are necessary. (this would all be easier if emacs threading weren't cooperative, but baby steps) Robert