From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: How to measure frame rate in fps? Date: Mon, 7 Jun 2021 02:35:09 +0300 Message-ID: <62245815-5300-cb19-ba50-3463a15484be@yandex.ru> References: <83h7ih24kc.fsf@gnu.org> <83y2btzlui.fsf@gnu.org> <4fe7f7a7-7c23-25fc-2d59-f1290436f487@yandex.ru> <83sg21zjg0.fsf@gnu.org> <472fab69-c072-74d4-e8d2-0dcefab7f726@yandex.ru> <834kehyp6s.fsf@gnu.org> <83o8cjikuj.fsf@gnu.org> <838s3ni2z9.fsf@gnu.org> <1fe36d16-202a-9c00-7a17-946226ad8e0f@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39737"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 Cc: Eli Zaretskii , wyuenho@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 07 02:43:32 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from [209.51.188.17] (helo=lists.gnu.org) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lq3Ma-0009j4-CM for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Jun 2021 02:43:32 +0200 Original-Received: from [::1] (port=50182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lq3M3-0001Li-GY for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Jun 2021 20:43:02 -0400 Original-Received: from [2001:470:142:3::10] (port=37286 helo=eggs.gnu.org) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lq2ny-0007jt-Vs for emacs-devel@gnu.org; Sun, 06 Jun 2021 20:07:51 -0400 Original-Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]:45666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lq2mq-0000F7-7A for emacs-devel@gnu.org; Sun, 06 Jun 2021 20:07:25 -0400 Original-Received: by mail-lj1-x235.google.com with SMTP id m3so19612313lji.12; Sun, 06 Jun 2021 17:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=FmeQcALELyZwjz0JBwFcUTOPdDV725vhJqV7zyQs+HE=; b=YnQh+YLkPu2w3Dkm/N0Z8hmk+qNK/3BrrJy+7aFZWW0G69jvlZCwHkk9ld0U9rw5mD lCzmh+WNNpGHLzCdbJfdQ1xrFllOBOnHiYsT+MTaAaUcL/wh6JrL7IZJAOV+tgqIwv+I ztf9//6crkXSzqdzfg+Czfe6YLLbxoRUI3nr5DC+Y5XLZB2FrT/vLTqTZFj0+Imb7o5i Sf5txQcxDHMLcCX/zyF9BTfmudhMMJ6QaPuBb1qvvADzSmv815XaOSfnyw0/sJIiz9Cx WmU1ULf2t1xIn5UI8spPO72L/ag5g4v05RtAVJtnUhPqWTXUdtxtSk/4aHKdyw/8swpT raPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FmeQcALELyZwjz0JBwFcUTOPdDV725vhJqV7zyQs+HE=; b=CbKH7+4QugDF+wMwtc5GSUw9iWwfvesd5shZmkXR/IoF/X0PASJSNVNxti42neMi0X epZDu7Ps9+PRD5pNKFCq6zF5LQf74sBzZQm+IX6fm3zehMzIgA7ElVdCVlIG3TefGGqb GtPO4uZ3rJOPeCuDHuqwUNBvjQyhehTS48mpXw9/OjAXnfDLdnTuQt8dwzCFV5lMyTZG zYoYfIidWAyv1u9P33fAN5ngdXAcScOYiWWiSeiV/1JC1nxbQmvK3NiayXV7+dT02boJ CJMMqXJPsj5R+gpg42OeK/46yf4vYdwbfUm6cu6n8uwcDa4OhuH+aqHU2lLRWkO7TyFj 65Mg== X-Gm-Message-State: AOAM531Ue6aylZ6enmL/A7obJkGkhj/BG6hNG8c2NHIZxwC2EyU7fAqt QNCX39SGZLYifeSRUwRhwp81wKv+vII= X-Google-Smtp-Source: ABdhPJxYQRJJr8hE5qPSsL1rlNVMWiRQoW7yMnFIgcoZcPdU4dMIX3QOsZEQB5dWivIxmB2RWsJNng== X-Received: by 2002:adf:9084:: with SMTP id i4mr14408592wri.23.1623022510650; Sun, 06 Jun 2021 16:35:10 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id 31sm15095833wrc.96.2021.06.06.16.35.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Jun 2021 16:35:10 -0700 (PDT) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::235; envelope-from=raaahh@gmail.com; helo=mail-lj1-x235.google.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_HELO_TEMPERROR=0.01, T_SPF_TEMPERROR=0.01 autolearn=no 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:270505 Archived-At: On 06.06.2021 21:10, Stefan Monnier wrote: >> So if there is some caching of the toolbar contents, I don't see why it >> wouldn't work. I'm also not sure how rendering it can take 10-15 extra >> milliseconds, but for all I know this could be normal. > > Maybe we could get a better picture of what's going on by comparing > profiles with and without toolbar. That's what I have been comparing. I can try and produce the corresponding pref recordings. Will that really help? Do I post them raw? > But I suspect that the various between profiles is large enough without > any configuration changes that we'd need to compare like 10 profiles > with toolbar against 10 profiles without toolbar before we can start to > (maybe) see a pattern emerge. My current reproduction scenario itself is fairly heavy, so it's no surprise if the functions are not at the top of the list.