From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew De Angelis Newsgroups: gmane.emacs.devel Subject: Re: Volunteering to help on etc/TODO item: Improved xwidgets support Date: Fri, 21 Oct 2022 22:13:08 -0400 Message-ID: References: <87k04wa97f.fsf@yahoo.com> <5E2D44D4-1D11-4531-9F0E-FD46F2B86FE1@stanford.edu> <87ilkc67rs.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000026fdf405eb961a0d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27496"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?Q?Daniel_Mart=C3=ADn?= , Qiantan Hong , "emacs-devel@gnu.org" To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 22 08:34:23 2022 Return-path: Envelope-to: ged-emacs-devel@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 1om85O-0006vI-Ta for ged-emacs-devel@m.gmane-mx.org; Sat, 22 Oct 2022 08:34:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1om7hf-0006BR-DJ; Sat, 22 Oct 2022 02:09:51 -0400 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 1om40q-00061c-2g for emacs-devel@gnu.org; Fri, 21 Oct 2022 22:13:24 -0400 Original-Received: from mail-vk1-xa2c.google.com ([2607:f8b0:4864:20::a2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1om40o-00087Z-Ae for emacs-devel@gnu.org; Fri, 21 Oct 2022 22:13:23 -0400 Original-Received: by mail-vk1-xa2c.google.com with SMTP id y129so2300563vkg.8 for ; Fri, 21 Oct 2022 19:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AJPyQEWiuyObs7KLYSmVjxudq8z0Jv96j9iXOrU+pZk=; b=TG+vLOnLQ5PB83URSqJRBtfIYxNNvtlQl7K/EBeuKoriQK4bmIZTKrm4f1y9sBa7pw IUm93qR/92nvbL3J1fGGP3cRQOMLd/6CEpP0j139CGLAoydvFIiyVwUbmAFS2Rqa2QuY 7dgD+vaDd+ubcVNUB+IiYCdNJ6JuqE51mMeM4CsED7Q4m4FyIqlmpSNvSKCqQyDWwFUJ BTZ8b8vqeMzaNdPANYQ3ksrduVzeBF/LRKZLEgkeRl4W3S/XoedP2Wipg/5NklCyd5Tu dB4Sikdyvj7jqP2dOCSrQCNhAQ3SQLcsmSNyW12icc0bNV8YCHUMKcxOuVvZhFP7JoFO f37w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AJPyQEWiuyObs7KLYSmVjxudq8z0Jv96j9iXOrU+pZk=; b=IhGt6NNKNWWBF97ujJ891I5HFtHFBJXmFFrPRwH1gNRNOblEUkXKVeHWXRZprcFhyN Dpljj3xXC5pv4FXDD6HoZqg/R49XhTrEcG9y5f+WlaRqFAs5NggB++HEPO10DuCmxRT8 4bomFl634xuXVVMa/nXOoBtwQhkwMMCqYh0oWKodvLkdvdWgeW0JccGpr3u2BDB94q8k m70GUe7lYOk/DSlJ4ou8ZWPZ1xyeP2Udy0jiZrY2QWbf3D1ldPm6SISEjslopHUPOq6W xcEVJy+dzbfAhdYxhGLXFoQ2WPCiQcCsAzv126kI7ItY4QA/JscB3vTVUcbyVnFlK6QN Vwbg== X-Gm-Message-State: ACrzQf1jPQ6mkzTYIKmcix9ezLdK+Y5Ry55o78w5xqtJnFGpSkpFxiDx R4A6rdBui6wRgKUFIug+N5WHfndJqRuLs4n60CQ= X-Google-Smtp-Source: AMsMyM7P8HybkhYHaCVkz1a7o+J67Lk3DKpPD18rCe5CgL+CXbjCi6KpC1sa0edTJfnHffhQJskcs65OswlvF4083+w= X-Received: by 2002:ac5:ca1d:0:b0:3ae:c7ec:f871 with SMTP id c29-20020ac5ca1d000000b003aec7ecf871mr13715877vkm.15.1666404799936; Fri, 21 Oct 2022 19:13:19 -0700 (PDT) In-Reply-To: <87ilkc67rs.fsf@yahoo.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::a2c; envelope-from=bobodeangelis@gmail.com; helo=mail-vk1-xa2c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 22 Oct 2022 02:09:47 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298256 Archived-At: --00000000000026fdf405eb961a0d Content-Type: text/plain; charset="UTF-8" Haven't worked with Valgrind in a while, and never on MacOS, so not sure. A quick glance at online documentation here and here shows the latest mentioned versions to be a bit old (10.12 and 10.15, I'm running 11.6.7 on my machine). But if you recommend it I'll take a better look. I was referring to this portion of the manual: link . It seems Emacs is pretty well integrated with gprof. But on Mac I couldn't configure it with the --enable-profiling option; I get this error: *clang: error: the clang compiler does not support -pg option on versions of OS X 10.9 and later.* On Fri, Oct 21, 2022 at 8:07 PM Po Lu wrote: > Andrew De Angelis writes: > > > Thanks Daniel! That's very helpful. I was looking at documentation > > online regarding profiling Emacs, but most of it is GNU/Linux focused > > so they'd all mention gprof, which to my understanding doesn't work on > > Mac. I'll work on using the Instruments.app, that should be very > > helpful in finding the leaks. > > Doesn't Valgrind work on Mac OS as well? > --00000000000026fdf405eb961a0d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Haven't worked with Valgrind in a while,=C2=A0and neve= r on MacOS, so not sure. A quick glance at online documentation here and here=C2=A0shows the latest mentioned versions to be= a bit old (10.12 and 10.15, I'm running 11.6.7 on my machine). But if = you recommend it I'll take a better look.

I was refe= rring to this portion of the manual: link.=C2=A0It seems Emac= s is pretty well integrated with gprof. But on Mac I couldn't configure= it with the=C2=A0--enable-profiling=C2=A0option; I get this error: clang: error: the clang compiler does n= ot support -pg option on versions of OS X 10.9 and later.
On Fri, = Oct 21, 2022 at 8:07 PM Po Lu <lua= ngruo@yahoo.com> wrote:
Andrew De Angelis <bobodeangelis@gmail.com> writes:

> Thanks Daniel! That's very helpful. I was looking at documentation=
> online regarding profiling Emacs, but most of it is GNU/Linux focused<= br> > so they'd all mention gprof, which to my understanding doesn't= work on
> Mac.=C2=A0 I'll work on using the Instruments.app, that should be = very
> helpful in finding the leaks.

Doesn't Valgrind work on Mac OS as well?
--00000000000026fdf405eb961a0d--