From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#41194: 28.0.50; [feature/native-comp] fibn benchmark exhausts memory Date: Sun, 14 Jun 2020 22:47:52 +0200 Message-ID: <87pna1cr2f.fsf@gmail.com> References: <87y2pyi4gq.fsf@gmail.com> <874krj1hjh.fsf@gmail.com> <877dw9k73y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="113665"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41194-done@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 14 22:49:14 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 1jkZZ4-000TWQ-6r for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jun 2020 22:49:14 +0200 Original-Received: from localhost ([::1]:56226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkZZ3-0003yB-7M for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jun 2020 16:49:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkZYs-0003t8-H3 for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2020 16:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jkZYs-0001dm-6q for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2020 16:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jkZYs-0000Up-5x for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2020 16:49:02 -0400 Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jun 2020 20:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41194 X-GNU-PR-Package: emacs Mail-Followup-To: 41194@debbugs.gnu.org, kevin.legouguec@gmail.com, kevin.legouguec@gmail.com Original-Received: via spool by 41194-done@debbugs.gnu.org id=D41194.15921676851832 (code D ref 41194); Sun, 14 Jun 2020 20:49:01 +0000 Original-Received: (at 41194-done) by debbugs.gnu.org; 14 Jun 2020 20:48:05 +0000 Original-Received: from localhost ([127.0.0.1]:44587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkZXx-0000TU-DP for submit@debbugs.gnu.org; Sun, 14 Jun 2020 16:48:05 -0400 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:32835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkZXs-0000St-Js for 41194-done@debbugs.gnu.org; Sun, 14 Jun 2020 16:48:04 -0400 Original-Received: by mail-wr1-f52.google.com with SMTP id l11so15046168wru.0 for <41194-done@debbugs.gnu.org>; Sun, 14 Jun 2020 13:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hbWvgkkeu70tN2bDHvHjb+5iniATRDFJrQjZxufEy9s=; b=Wezy5hnrqvefL+bztvRVSMrHXAIn8v7qvr4dEq6/LL5SDPAk3c76s+bZY+WZcXQLxh yVlFziAzxgexUvpXR+sHcALtttdibndjBubrbN4j/dNg8ipxxR/oNax62gz9gbFyBJwj rLRYNQC3gy0c0WaSIuCXoxlgrHpmvKxsJ7cwS3hn3zPjiw0yQt3cxs3LR6an4lV7OIK/ MBKpJeE5eCI78PyI/QSEA1tP4GQ2N7TF7He2TgOo0PGz+y/9W5cRAzipclPjpVepZljR GHXDYOL2HzhfHzIVweb+6cqL4+v0k+RTg/+0589JR+VDee7QIqZAxwWlIhI9WeUPDvxz XgNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hbWvgkkeu70tN2bDHvHjb+5iniATRDFJrQjZxufEy9s=; b=Y+cYL0D7jttDuonwRuYN9RbgiFSP85iYkvIOUFue/Paag4GjL8iO5jOrW/17dyjBvg 1AGdJ78HvKFkks3tZkheBLO4LY7sl12QOlzUWG03Dtw0rgRw2kIUuUYIPlbTjMPcccUl iWqbBr/sF44WcxJrEGsMJCY8tFgdmCiKVL3no3EInMBTFEvL1ThwhQUH9hFrR7nwe+BW FXg215HwKLxI9vxHvEpzIObh0BqzfmXTI/pNJHE8DNzamARGG2xY0XgEejg/Kb7q3dnO Ush4OuUmEYAk30Uq10zO4UG2ub9Q4Lrz+0XoQVTiwJ6jWzHGQmY9oZDMQIy7U61RSMYZ 0B4A== X-Gm-Message-State: AOAM532A2nUUdZvBFEap28Vl+0FAXUdOuQ/XVTli0QSFuXzT626GbEDY F772rOT3yPYPq9zmjjBjv4YsVm05AOs= X-Google-Smtp-Source: ABdhPJydFhz53h/8ZsO//5NnwR7rJV45Pq6z/0t1eaicOnpmSkKfTnU6iihjGFD6ERDOJaAccxr1lg== X-Received: by 2002:a5d:49c4:: with SMTP id t4mr24961125wrs.127.1592167674346; Sun, 14 Jun 2020 13:47:54 -0700 (PDT) Original-Received: from my-little-tumbleweed (200.143.13.109.rev.sfr.net. [109.13.143.200]) by smtp.gmail.com with ESMTPSA id u9sm20664071wme.16.2020.06.14.13.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jun 2020 13:47:53 -0700 (PDT) In-Reply-To: (Andrea Corallo's message of "Sun, 14 Jun 2020 16:19:06 +0000") 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:181965 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Andrea Corallo writes: > this is very good new thanks! If I read correctly we are always under > about 600MB as memory consumption is this correct? Yep. I can post the detailed data here if that's needed; here are the 10 files that took the most virtual memory (vsz): 1. org/org.el 541.2 MB 2. gnus/gnus-sum.el 459.3 MB 3. emacs-lisp/comp.el 455.2 MB 4. net/tramp.el 408.2 MB 5. net/tramp-adb.el 390.4 MB 6. net/tramp-sh.el 371.0 MB 7. progmodes/cperl-mode.el 356.2 MB 8. ../lisp/window.el 348.9 MB 9. gnus/message.el 345.4 MB 10. net/soap-client.el 344.4 MB And the 10 files that took the most resident memory (rss): 1. org/org.el 361.6 MB 2. emacs-lisp/comp.el 287.3 MB 3. gnus/gnus-sum.el 286.7 MB 4. net/tramp.el 236.8 MB 5. net/tramp-adb.el 218.1 MB 6. net/tramp-sh.el 199.0 MB 7. progmodes/cperl-mode.el 185.0 MB 8. ../lisp/window.el 181.6 MB 9. gnus/message.el 174.0 MB 10. erc/erc.el 173.5 MB > I suspect we are still looking at a speed 3 run. How comp-speed was set > for the test? > > I ask that because for now speed 3 is written into the stone within > elisp-benchmarks.el, yeah... :/ and so has to be manually changed there. Now that's just sneaky =F0=9F=98=9B You're right, it was a speed 3 run. Se= tting comp-speed to 2 in elisp-benchmarks.el, I now get the attached results. --=-=-= Content-Type: text/x-org Content-Disposition: inline; filename=perfs.org * Results ** master #+TBLNAME: master | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | |----------------+----------------+------------+---------+-------------+-----------------| | bubble-no-cons | 118.41 | 0.23 | 3 | 118.63 | 0.36 | | bubble | 46.29 | 29.34 | 388 | 75.63 | 0.36 | | dhrystone | 74.82 | 0.00 | 0 | 74.82 | 0.34 | | fibn-rec | 59.50 | 0.00 | 0 | 59.50 | 0.28 | | fibn-tc | 147.39 | 96.86 | 1179 | 244.26 | 2.70 | | fibn | 320.33 | 276.23 | 3442 | 596.56 | 5.31 | | flet | 112.02 | 0.00 | 0 | 112.02 | 0.29 | | inclist | 166.30 | 0.00 | 0 | 166.30 | 0.67 | | listlen-tc | 76.97 | 0.00 | 0 | 76.97 | 0.53 | | map-closure | 81.86 | 0.00 | 0 | 81.86 | 0.31 | | nbody | 28.62 | 98.53 | 1303 | 127.14 | 0.21 | | pcase | 110.63 | 0.00 | 0 | 110.63 | 0.29 | | pidigits | 61.78 | 39.46 | 469 | 101.24 | 0.70 | |----------------+----------------+------------+---------+-------------+-----------------| | total | 1404.92 | 540.65 | 6786 | 1945.57 | 6.13 | ** feature/native-comp #+TBLNAME: feature/native-comp | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | |----------------+----------------+------------+---------+-------------+-----------------| | bubble-no-cons | 30.12 | 0.16 | 2 | 30.28 | 0.04 | | bubble | 18.05 | 27.91 | 352 | 45.96 | 0.33 | | dhrystone | 34.26 | 0.00 | 0 | 34.26 | 0.05 | | fibn-rec | 26.92 | 0.00 | 0 | 26.92 | 0.03 | | fibn-tc | 98.66 | 93.89 | 1096 | 192.55 | 1.66 | | fibn | 253.19 | 269.12 | 3192 | 522.31 | 2.17 | | flet | 22.92 | 0.00 | 0 | 22.92 | 0.04 | | inclist | 11.76 | 0.00 | 0 | 11.76 | 0.16 | | listlen-tc | 21.44 | 0.00 | 0 | 21.44 | 0.05 | | map-closure | 80.57 | 0.00 | 0 | 80.57 | 0.03 | | nbody | 15.62 | 95.66 | 1212 | 111.28 | 0.10 | | pcase | 17.64 | 0.00 | 0 | 17.64 | 0.03 | | pidigits | 59.82 | 38.86 | 436 | 98.68 | 0.39 | |----------------+----------------+------------+---------+-------------+-----------------| | total | 690.98 | 525.59 | 6291 | 1216.57 | 2.79 | ** ratio | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | |----------------+----------------+------------+---------+-------------| | bubble-no-cons | 3.92 | 1.44 | 1.5 | 3.93 | | bubble | 2.56 | 1.05 | 1.1 | 1.64 | | dhrystone | 2.18 | | | 2.18 | | fibn-rec | 2.21 | | | 2.21 | | fibn-tc | 1.49 | 1.03 | 1.07 | 1.26 | | fibn | 1.26 | 1.03 | 1.08 | 1.14 | | flet | 4.89 | | | 4.89 | | inclist | 14.1 | | | 14.1 | | listlen-tc | 3.6 | | | 3.6 | | map-closure | 1.02 | | | 1.02 | | nbody | 1.83 | 1.03 | 1.07 | 1.14 | | pcase | 6.31 | | | 6.31 | | pidigits | 1.03 | 1.02 | 1.08 | 1.02 | |----------------+----------------+------------+---------+-------------| | total | 2.03 | 1.03 | 1.08 | 1.6 | #+TBLFM: @2$2..@>$> = if (remote(feature/native-comp,@@#$$#)!=0, remote(master,@@#$$#)/remote(feature/native-comp,@@#$$#), string("")); p3 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Conclusion: I'm closing this report! Again, thank you for your efforts. (And thank you for this opportunity to learn about Org spreadsheets =F0=9F= =98=89) --=-=-=--