From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Sedach Newsgroups: gmane.emacs.help Subject: Re: Make emacs-eww render asynchronously Date: Wed, 20 Mar 2019 00:03:35 -0700 Message-ID: <31815.8114141383$1553066509@news.gmane.org> References: <871s33eags.fsf@work.i-did-not-set--mail-host-address--so-tickle-me> <87zhpqn3af.fsf@exinda.orion.oneofus.la> <83imweu07e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="91020"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.1.0; emacs 26.1 Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 20 08:21:46 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6VXl-000NbN-9V for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Mar 2019 08:21:45 +0100 Original-Received: from localhost ([127.0.0.1]:43992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6VXk-0004Rq-9r for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Mar 2019 03:21:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6VXY-0004PM-4D for help-gnu-emacs@gnu.org; Wed, 20 Mar 2019 03:21:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6VNK-00028e-5u for help-gnu-emacs@gnu.org; Wed, 20 Mar 2019 03:10:58 -0400 Original-Received: from forward104o.mail.yandex.net ([37.140.190.179]:44114) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h6VNH-0001uS-Tu; Wed, 20 Mar 2019 03:10:56 -0400 Original-Received: from mxback19g.mail.yandex.net (mxback19g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:319]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 9B8AE94289B; Wed, 20 Mar 2019 10:10:51 +0300 (MSK) Original-Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback19g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id FvbHDx01yo-ApVmqJck; Wed, 20 Mar 2019 10:10:51 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneofus.la; s=mail; t=1553065851; bh=J8yh2Fd8X0dp6QVyH5ISSPTOydGRAhbQBFG00Guqyqw=; h=In-reply-to:Subject:Cc:To:From:Date:References:Message-ID; b=FYEVpbHagUXCpCWz4dXaFImvk9cfu9YO/XNqrvtDR3ix9gGDbqcVpTZ39vNszaUaX tJCdSv597NvxaXACoCSGvKtI7ZidFeB/OOfdt/JI0BzHPU+urHcE0rLdcsA40lJ/KK 91gqTD1oIQmUBuKYymXxmEV+ENIUuoCCDP5PKGeQ= Authentication-Results: mxback19g.mail.yandex.net; dkim=pass header.i=@oneofus.la Original-Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 8KJVhyG3ng-An8CWYRN; Wed, 20 Mar 2019 10:10:50 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) In-reply-to: <83imweu07e.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 37.140.190.179 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119695 Archived-At: > I can only understand that claim if in your case the slowdown/lagging > is due to redisplay, which is written almost entirely in C, and > profiler.el sees it as just one function. Yes, that is the case. Another case is external processes (which applies for emacs-w3m). Profiler-Report gives a ratio of CPU usage by Emacs code but not timing information. benchmark.el is useful, but you need to figure out what to benchmark first, which is not always obvious. Vladimir