From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Elisp native profiler Date: Thu, 27 Sep 2012 00:02:04 -0400 Message-ID: References: <83zk4egs0w.fsf@gnu.org> <83y5jygrni.fsf@gnu.org> <83haqlgrit.fsf@gnu.org> <837grghqfe.fsf@gnu.org> <836270hq4u.fsf@gnu.org> <83zk4cfums.fsf@gnu.org> <20120927075009.07f0a001aeccfbc05e33757c@cx4a.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1348718534 14986 80.91.229.3 (27 Sep 2012 04:02:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Sep 2012 04:02:14 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Tomohiro Matsuyama Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 27 06:02:19 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TH5Im-0004Y7-Ak for ged-emacs-devel@m.gmane.org; Thu, 27 Sep 2012 06:02:16 +0200 Original-Received: from localhost ([::1]:58470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TH5Ih-0004d1-8u for ged-emacs-devel@m.gmane.org; Thu, 27 Sep 2012 00:02:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TH5Ie-0004cw-QP for emacs-devel@gnu.org; Thu, 27 Sep 2012 00:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TH5Id-0003Xb-RK for emacs-devel@gnu.org; Thu, 27 Sep 2012 00:02:08 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:8491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TH5Ic-0003XM-Ga; Thu, 27 Sep 2012 00:02:06 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxLT4/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLDiYSFBgNJIgcBboJixyFKAOjM4FYgwWBOw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="200093834" Original-Received: from 69-196-180-248.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.248]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 27 Sep 2012 00:02:04 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 9BC135938D; Thu, 27 Sep 2012 00:02:04 -0400 (EDT) In-Reply-To: <20120927075009.07f0a001aeccfbc05e33757c@cx4a.org> (Tomohiro Matsuyama's message of "Thu, 27 Sep 2012 07:50:09 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153620 Archived-At: > That's could be fixed by using floats. I'll do it. That might work for the percent calculation, but we can also have wrap-around for the actual counters. I'm thinking that we might want to scale them a little (e.g. instead of measuring bytes, we could measure bytes/N where N would be at least 16, and more if possible) to at least push the limit by a factor of N. I guess we could also use floats for them, but that would take a bit more work and hack. Stefan