From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#68693: 26.3; (elisp) `Profiling': Say how to use (e.g. read) a saved profile Date: Wed, 24 Jan 2024 17:48:17 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6876"; mail-complaints-to="usenet@ciao.gmane.io" To: 68693@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 24 18:49:24 2024 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 1rShNK-0001UN-VX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Jan 2024 18:49:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rShMw-0002YE-G8; Wed, 24 Jan 2024 12:48:58 -0500 Original-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 1rShMv-0002Xo-7e for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 12:48:57 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rShMu-0004Ze-W8 for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 12:48:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rShMz-0006tL-Tf for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 12:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jan 2024 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68693 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.170611853326462 (code B ref -1); Wed, 24 Jan 2024 17:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jan 2024 17:48:53 +0000 Original-Received: from localhost ([127.0.0.1]:46540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rShMq-0006sj-Om for submit@debbugs.gnu.org; Wed, 24 Jan 2024 12:48:53 -0500 Original-Received: from lists.gnu.org ([2001:470:142::17]:34580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rShMn-0006rx-LN for submit@debbugs.gnu.org; Wed, 24 Jan 2024 12:48:50 -0500 Original-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 1rShMc-0002KD-6L for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 12:48:38 -0500 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rShMa-0004Vz-BZ for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 12:48:37 -0500 Original-Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 40OHEDBM014058 for ; Wed, 24 Jan 2024 17:48:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=corp-2023-11-20; bh=PFfU6SB5lRVeW0sktje2U718i8CqzXLeD0ty9ypAF/I=; b=E7dki18kzUMHbxV9g6j+BrMO+kSUy5zF0PzFon1YuN+cvzApR7j7DaDqv2zlJwkFmd/V mAaOrKUxl4u65GHJ8FgjON2diiLYnlIxZs1BzydaLZTBlncF5D8kx5MMQmymGYpKpCAT CxPey7I7sOZ1RI2nhnAdGtnBk7XxubwI2UYvGD/jsLqyGRqcYKiRI1F51GcBYUJDhrec IbD1GAbvv/nFVyZkb/lCEBPKzDJrppHhA3RqmUiPOlSqurxrycbOH988QVymxCH1UdFb KYAC79j1RJKbcIMrzaoDYJrxLTI5e3VqHCnmadrv0/fR9chGjCV34BbIuIXn4ADpx+1I Mg== Original-Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3vr7n84cjy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 24 Jan 2024 17:48:33 +0000 Original-Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 40OHG2KH014246 for ; Wed, 24 Jan 2024 17:48:33 GMT Original-Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2100.outbound.protection.outlook.com [104.47.70.100]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3vs37339kh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 24 Jan 2024 17:48:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PmEOHQFP/NAcM+hQ1mbKyqdTi38FmDlgERhBnCL83rnDMUDR3JFvSyPxqjTUES8OYayolasmThTR13n/NzKeRcS9w/sM8yS5/CQ6aGMF2K6YdAr44lv74oEPxm/iUkpHnacqRjRM8iJlQVWI9E8RRBO/mAqrcsGKLNc9599W5D7UQ6mZGT+/o7f9P2zCqHDK2cKVGULWQI08VqnFnR7nZOA6Rh2fFX3Ds7oJm6wVUVUTXkIrb16ttVmHI9wcvarjN7RolqqIv51IQpWOJk1ov+oW2fNiw/1cNCraulaML4oY2gF4A6R/azmjghtbT2G3b/OYeqPi8kNLIwQVizvykw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PFfU6SB5lRVeW0sktje2U718i8CqzXLeD0ty9ypAF/I=; b=nAZcscpvSmg6GF6uTtK3MbGVlApLdwkz7RdSA9z/uBrANiU1nMdYK4AT+mO1HYd4IS8sDEZXChUyjOxSOOQ4F9NEysNyoXE9xO3lT7Gt9GFexSbb7yHA4EB2ULUo4fIoDIm1HKwKMWuhxu0OUMPIxJ4Pul3O+Z0gIWDhMK62HEuwZ5TJWk110wf+TaMbDGnAbWJ28VB06gBLra0p8hNrXcfuMKYbF3U0g5mNEb/xrerqkdVoU5lHZ7DbDU14vV9L0UcIazC6KEa26OQJFB+VJs8Q47EccVROvfVkkQu5W7jsjoD2arYeCGgBNc0FjLI1ND1gsjaLgwXyCkmNxFIleg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PFfU6SB5lRVeW0sktje2U718i8CqzXLeD0ty9ypAF/I=; b=zGjLFAQGbQ+nzR6/i6KIN3tQOcvPFETe71AztyeC2U4u+JlCI4XiNz+iUS+3eMQqxuLX4KAD2hHnJjTqfhQuod6wpdlDoM7CpmcYm2RoYHtgf4BkRKzAsau83qLtgN9ixwGAaIqidm2fGQsSzm70HXEQVfg87wihj97ax9jVXU4= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by SA1PR10MB6469.namprd10.prod.outlook.com (2603:10b6:806:29d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.39; Wed, 24 Jan 2024 17:48:17 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7eb0:e361:caf4:a410]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7eb0:e361:caf4:a410%4]) with mapi id 15.20.7228.023; Wed, 24 Jan 2024 17:48:17 +0000 Thread-Topic: 26.3; (elisp) `Profiling': Say how to use (e.g. read) a saved profile Thread-Index: AdpO7WpiqGGOF//LTGeKL5VoSaDXbw== Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|SA1PR10MB6469:EE_ x-ms-office365-filtering-correlation-id: 7d6f50f8-dba6-426c-2c8f-08dc1d04a566 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: omxvkL+Qw96yXYPq8m4iSmx/IrVcPBPTcJVC2tKAM5GnyfKkp7SdDVQ8nDYyG8V/uMnq2xE5VbAiiMXMLZuHtXbiS2IHsIXgo6XhY1kzIC6r1ic/cRl8CgvdxhGsLIZ5JGO9P7ceRWE67jTGYt0cjsfPxAPD7vT5sEHZ6LKB73rIIQevf0GC1Qmo1ZR/CjWgIHRYHI1+SqSeZSMBWgpIU5pr3K/B0fQo1ewmiGAC4yXN8B9sMxIGydqpDjU0GtjqwoSIVX1bUpGLBY0ERn1hLXFfzuRX9hxltyiC/GwMYO2BWzDhp0JAspeSpteVqWqg+7r8SZEZPtzlzLN8Hsl3TmHaalI3l3Pq1o9hjdosLX36lZnoC8XlMql0W7JA03yHYhMBNYrDHj6O9HwcWq8wzPISlNyrhy1db4ITcU9spVhIN4mFvaCJXy0eEEmILwoOpdN20YLp9ZIkW7keMbQRS2+4FUU1yz4aosVmtjGx2oK3H+ZC9cy6YpbLImyhan5X5IDTg0im84wJdpQbWzT3o5sKiduf7NXLy4hIMw21bdee4bbDi8ur5mR1kAGSj/KbdIrtAbrkV3IhjM/5pzV77ZzrUD7EyqrU/O9czjx83C435ao2GwoGzjKGL1ekS1A99jydNN9sp855vCiunZ+6zQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(39860400002)(366004)(376002)(396003)(230922051799003)(1800799012)(186009)(64100799003)(451199024)(2906002)(5660300002)(86362001)(44832011)(4744005)(38070700009)(41300700001)(33656002)(76116006)(6916009)(64756008)(66446008)(66476007)(66946007)(66556008)(45080400002)(316002)(6506007)(9686003)(52536014)(7696005)(55016003)(122000001)(38100700002)(478600001)(26005)(8676002)(8936002)(71200400001)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 4WUp2E+kw/FtpGrh1DXFmyfJUwtgeY7l7glKbGN/rXT/OIIPmnjp+ORCh53iEw2xPb+k9UH2qVPsr0pBj0XuWq6MqmqjfyaKcTUPueqSzrdgjRF94s9oNiYXPfodtONgcnLnr6lQS48/g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Ir/sOv3lJt7N+w67Vj4X7NbNi7rvJzAra2pV0QwKRbcveEZYOE39bj4T2OfRpdO5jyaOyj6wU19dr/xJ9e1d+1e+M9IafNVq8ocHMg/L/s6pZlEHRBCwbsALy/KWmxwmSlBa8sjhUUa7FKzzhpGPwl6c+mNFa6mNx2pnI9OnvSTARxehQTKGpQlWtpPs+rAmbtKK3pNE+HqaxF0YgkibSutBatMCp0IphIbkX5QnWqrUQMyVm92nldqFZOgqQH1kpNNiH6o1Alrt89HTTCx6ToSnMnEzCZGwRd3iUgFrVG2pazDNnnQv4MinivWatMHUZCAQVzJvVfxQRGU= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7d6f50f8-dba6-426c-2c8f-08dc1d04a566 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2024 17:48:17.1235 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BIDpTPTBzoTQYQLsu2yWNXZhu2YBbDgcMEbV3FVrJyYaaolhgodgxTsyZU/nqy2pCcYqMHRvmSaCLABPaffDsg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB6469 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-24_07,2024-01-24_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 mlxlogscore=535 mlxscore=0 phishscore=0 adultscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401240130 X-Proofpoint-GUID: jwcLlnI2eBSki6Ip7ODb2LW-KGyvEUmV X-Proofpoint-ORIG-GUID: jwcLlnI2eBSki6Ip7ODb2LW-KGyvEUmV Received-SPF: pass client-ip=205.220.177.32; envelope-from=drew.adams@oracle.com; helo=mx0b-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278809 Archived-At: The node says only this: You can save a profile to a file using 'C-x C-w'. The doc says nothing about how to make use of such a saved profile, in particular, how to read it into the profiler UI again. I naively tried visiting the file and then `M-x profiler-report-mode'. But that just showed a single line of 68K characters. In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor `Microsoft Corp.', version 10.0.19045 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3''