From patchwork Mon Jul 10 18:09:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 51666 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 40B7327BBEA; Mon, 10 Jul 2023 19:13:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5EA3D27BBE9 for ; Mon, 10 Jul 2023 19:13:32 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIvNp-000572-BL; Mon, 10 Jul 2023 14:13:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIvNk-00055Q-ML for guix-patches@gnu.org; Mon, 10 Jul 2023 14:13:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIvNf-0006wv-1V for guix-patches@gnu.org; Mon, 10 Jul 2023 14:13:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIvNe-0002Ap-Ge; Mon, 10 Jul 2023 14:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64560] [PATCH] gnu: Add emacs-gc-stats. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 10 Jul 2023 18:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64560@debbugs.gnu.org Cc: Ahmad Draidi , Andrew Tropin , Liliana Marie Prikler X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin , Liliana Marie Prikler Received: via spool by submit@debbugs.gnu.org id=B.16890127578320 (code B ref -1); Mon, 10 Jul 2023 18:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jul 2023 18:12:37 +0000 Received: from localhost ([127.0.0.1]:49096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIvNF-0002A8-9R for submit@debbugs.gnu.org; Mon, 10 Jul 2023 14:12:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:53584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIvN7-00029q-Ve for submit@debbugs.gnu.org; Mon, 10 Jul 2023 14:12:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIvN7-0004YS-K1 for guix-patches@gnu.org; Mon, 10 Jul 2023 14:12:29 -0400 Received: from rainycloud.ext.redscript.org ([2402:28c0:4:1081::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIvN4-0006m7-Dw for guix-patches@gnu.org; Mon, 10 Jul 2023 14:12:29 -0400 Received: from localhost.localdomain (bba-92-97-102-14.alshamil.net.ae [92.97.102.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id 3F09746D4; Mon, 10 Jul 2023 18:12:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-rsa; t=1689012740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=1AuBEFkKwPe1joNTyZw5RQEXc4YG0Y4Jnb4VsDk9/Y8=; b=n79O+/mlSvlmCxvWPjoHTWNwkr1F9VFuaoOipTN3TFYbQUo7cqgXBpYu93u35zXKQh95Fo whJsevuBWtfNj43KMKja5EEyiqSKhJsGC2LVXM5GUjFpm1LQO7DQM7zm3vVud91jXKoATs RfewN07xS3LYN/Iz+pNJzNImfHrdAmk54Y3rwjw6hjmHdDmVOWJ0U41/D6MJxSznu2TpfX rKGDbW8DwbcaUE5FSzIMX1aqeSRpK2REU+Eh0gs2UqHKpl1m6kNma6SXtwzLIJpvWmkh5P 0KsREvulUe5aS+ADUI268HFDVnyxdG/B7xIKV0AapIDuypEVklK6gsNibXhKdKtjMXripe DmnQGq06z8bpTQavsQ3FSQE7eCb+yGvhdR8N0PLoFinH0Z2KD//kP4P55HfbsHyLYI0GOX Gjs1JRouF7vvuDEySzA6iPO64EM91YozdjtjOBdLmtAmB613y2osohsQDOk7OVIUstWWz5 YBOdZ7tZrnNoLjmriWm1AbTdncXSIb4APzb1wdXz+5sjWu5quYvsqcX9qgXt9wtTPS/TI+ op3tyzonSMmvoR3W2M2VaLWeSNu6Sft4h/Mm+xFT5wOV3zBbVTCq0U8xN/2qGoshOXMP+k fB5chvjDPLhxJU3L3Jn5jdMydFtVn69IiZoMHD1eHVKkkJNJk20Fg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-ed25519; t=1689012740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=1AuBEFkKwPe1joNTyZw5RQEXc4YG0Y4Jnb4VsDk9/Y8=; b=DHYtxX62RBTRq8nNnQMhePyvPwbtVzWMCQPuKEM9+RXYSicvDof774s0CgfYHRtPlL3Jlk zX9G5/XkJT0EVNDA== Date: Mon, 10 Jul 2023 22:09:59 +0400 Message-ID: <1bfaec5aa1c5d8243aba15092866e7043add5c16.1689012599.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2402:28c0:4:1081::1; envelope-from=a.r.draidi@redscript.org; helo=rainycloud.ext.redscript.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches X-Patchwork-Original-From: Ahmad Draidi via Guix-patches via From: Ahmad Draidi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-gc-stats): New variable. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) base-commit: b7be0a999df8984fee8bd9d283b8fbe7e4da879d diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index fb36d7d29d..365721ffb4 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3704,6 +3704,30 @@ (define-public emacs-aggressive-indent than @code{electric-indent-mode}.") (license license:gpl2+))) +(define-public emacs-gc-stats + (package + (name "emacs-gc-stats") + (version "1.4") + (source (origin + (method url-fetch) + (uri (string-append "https://elpa.gnu.org/packages/" + "emacs-gc-stats-" version ".tar")) + (sha256 + (base32 + "19195s2nw87nmdz861j6shw5m2lv0spbcb1wff0y338fgx9sicgz")))) + (build-system emacs-build-system) + (home-page "https://git.sr.ht/~yantar92/emacs-gc-stats") + (synopsis "Collect Emacs GC statistics") + (description + "This package collects Emacs @dfn{garbage collection} (GC) statistics over +time and saves it in the format that can be shared with Emacs maintainers. + +This package does not upload anything automatically. You will need to upload +the data manually, by sending email attachment. If necessary, you can review +@code{emacs-gc-stats-file} (defaults to @code{~/.emacs.d/emacs-gc-stats.eld}) +before uploading-it is just a text file.") + (license license:gpl3+))) + (define-public emacs-gcmh ;; No tagged release upstream, but the commit below correspond to the 0.2.1 ;; release.