From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about 0.1s) Date: Mon, 26 Mar 2018 12:37:36 -0400 Message-ID: References: <83efk6g93z.fsf@gnu.org> <544b8346-bda9-45eb-9573-1d51d9f768b2@Spark> <83bmfag8gu.fsf@gnu.org> <87y3ie24z1.fsf@gmail.com> <87sh8m23tc.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1522082149 8289 195.159.176.226 (26 Mar 2018 16:35:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2018 16:35:49 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 26 18:35:45 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0V5y-0001zp-4h for ged-emacs-devel@m.gmane.org; Mon, 26 Mar 2018 18:35:42 +0200 Original-Received: from localhost ([::1]:57996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0V80-0004SM-2p for ged-emacs-devel@m.gmane.org; Mon, 26 Mar 2018 12:37:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0V7q-0004R0-Sa for emacs-devel@gnu.org; Mon, 26 Mar 2018 12:37:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0V7q-0003AS-3i for emacs-devel@gnu.org; Mon, 26 Mar 2018 12:37:38 -0400 Original-Received: from mail-ot0-x22b.google.com ([2607:f8b0:4003:c0f::22b]:36555) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0V7p-0003A2-V4 for emacs-devel@gnu.org; Mon, 26 Mar 2018 12:37:38 -0400 Original-Received: by mail-ot0-x22b.google.com with SMTP id n40-v6so4420911otd.3 for ; Mon, 26 Mar 2018 09:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=wYxUSm2hjPb7LV+87V0ksLtOhQ/y6+LZG6oxr9sjfOA=; b=a/oi+FLREnkH3Du5Rr2KyQNgxXnOsYzxpYdhu+CNCQmkIGt+Ux/8z/DriUJsFI6k/e TVKJclnEUDgSSIKVKgJK/acdWNDyCfYPuKIK5r1vDI3cRoCTm6dZnipQkx1iukM7jm/Q aAtt0A/VliFVztphcOfC/F2/uw/YxxL5squOFWMvGGBeGECuiq4gFULJGk6ynxvTZcj3 K56yC2FSflv9fLycBsrUdcSR3zPxvbXCuL+oBGXU+FJWfcpDD64TjUsifHkA3nIarCqu knhdYA7i97yG6X4cKkW8f6UyNYsdBtW+UpFR4SHy2kNsc5lQXrFs1zYPhK5h3b6BOLe/ et9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=wYxUSm2hjPb7LV+87V0ksLtOhQ/y6+LZG6oxr9sjfOA=; b=BX7eyQZxy3rxIYezQJ82IiRwfi85g0F3Bp3gSwGgVjL56KeDKHJBps3DUclDOj04JM 4Ke55Xrrf/S6uy49BBlhy+9f0sADhsb+iDJsB1gcrEEJJh3YsZwe50zH8gra6tiT/0kM fjAsDMAWv3xml7VkxwDiydLP/8NH5odrsMehWoFKoqGKYZOqHPW8J1eOJkftX9gPPQ01 PlzE2RaprbtwjI0rnIKzwq6rXM0kDPKEsGfOoVtcM33nGI4XhQFk+4yI6v/Bin8PzvIK 2eHzEsUhll6onBtN3CBzvxQsNkHoWf6jnvFm1V7X+v5efUlgizfVj6BsUYwtOHukqPzU uZMg== X-Gm-Message-State: AElRT7FwYwTqVMKGJx9+IFPM6s4zDZYAhajDQi6mqWi7A8FG5OQiSjqE dcsFxjmpxzBW54fNZ1mTeNOWKSlrSmNnAyFK9XB9xw== X-Google-Smtp-Source: AIpwx49MQQ3KwrihGGUJQgKln3G71dzssuIyFB/V3Fg6OaneHrrom5Y3DVtQH/QbNI/EhfQUFuEomMGIIQHoDZiKKlY= X-Received: by 2002:a9d:4469:: with SMTP id f38-v6mr6654118otj.335.1522082256922; Mon, 26 Mar 2018 09:37:36 -0700 (PDT) Original-Received: by 10.74.139.213 with HTTP; Mon, 26 Mar 2018 09:37:36 -0700 (PDT) In-Reply-To: <87sh8m23tc.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224048 Archived-At: On 26 March 2018 at 12:34, Robert Pluim wrote: > Robert Pluim writes: > >> I get the same: 0.1 seconds under GTK, 0.000446348s under -nw > > And profiling pointed at window--maybe-raise-frame. Testing then > pointed at make-frame-visible. Disabling the call to that in > window--maybe-raise-frame makes the test virtually instantaneous for > me. Looks like x_make_frame_visible is the culprit. Does changing x-wait-for-event-timeout affect this?