From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#44674: 28.0.50; Adding current-cpu-time for performance tests Date: Mon, 16 Nov 2020 13:41:13 -0500 Message-ID: References: <83y2j1rz2f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25741"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: mattiase@acm.org, p.stephani2@gmail.com, 44674@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 16 20:00:36 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kejjv-0006YB-LW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Nov 2020 20:00:35 +0100 Original-Received: from localhost ([::1]:44436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kejju-00045a-He for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Nov 2020 14:00:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kejRz-0004jQ-0T for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 13:42:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45653) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kejRy-0001Cg-LF for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 13:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kejRx-00007E-JF for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 13:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Nov 2020 18:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44674 X-GNU-PR-Package: emacs Original-Received: via spool by 44674-submit@debbugs.gnu.org id=B44674.1605552083391 (code B ref 44674); Mon, 16 Nov 2020 18:42:01 +0000 Original-Received: (at 44674) by debbugs.gnu.org; 16 Nov 2020 18:41:23 +0000 Original-Received: from localhost ([127.0.0.1]:57199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kejRL-00006F-Dl for submit@debbugs.gnu.org; Mon, 16 Nov 2020 13:41:23 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:2801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kejRJ-000062-Ja for 44674@debbugs.gnu.org; Mon, 16 Nov 2020 13:41:22 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 3FC2980922; Mon, 16 Nov 2020 13:41:16 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 1D95D80B34; Mon, 16 Nov 2020 13:41:14 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1605552074; bh=Sy6IZB4iKgBuQv4IRezm0oW6Dsrb58hn8vRtYdZJLJA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ex3/7RKc80d0peI9a2mGdm6Z4qHiPHD0+vQhXWr1zRMCzIurCBJw5fiw+0EQ57+YT N4CA2MZbSpqUd/a39dIu5U+d+bHqUyxWmHyCJyngEYZoGB2VxWvV2CgXJJwK1jVeOr ao/I4+J5AXjpEl+/9fMDqOEkk7XNrQ7Y/I1O7nDSJFzng2c3H9Y35iDteE8Qi4c97V zU37v/+F27DjOWiM8MwFJSsJ8rotKRn6QWImsygOUiaVZ/Zc6bJGW+6ZIs6HLURwta U/6EqaJRShrwvGFMdDeOemgcNKncJXe24M7g/NrcwDDgbG0YWyhI/3AlMKWNGIJ+1U T/xGZgC2nyv5g== Original-Received: from alfajor (unknown [157.52.9.240]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D0F501202E3; Mon, 16 Nov 2020 13:41:13 -0500 (EST) In-Reply-To: <83y2j1rz2f.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 16 Nov 2020 19:28:24 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193458 Archived-At: >> What do you mean by "origin" and by "calling 'system'"? > Quoting https://pubs.opengroup.org/onlinepubs/9699919799/: > > The clock() function shall return the implementation's best > approximation to the processor time used by the process > since the beginning of an implementation-defined era > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > related only to the process invocation. > > How do you write portable Lisp code that returns consistent results > based on such shaky foundations? You only consider differences between measurements. Stefan