[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tree-sitter api
From: |
Eli Zaretskii |
Subject: |
Re: Tree-sitter api |
Date: |
Sun, 26 Dec 2021 12:23:10 +0200 |
> From: Yuan Fu <casouri@gmail.com>
> Date: Sun, 26 Dec 2021 01:50:58 -0800
> Cc: Yoav Marco <yoavm448@gmail.com>,
> Clément Pit-Claudel <cpitclaudel@gmail.com>,
> Emacs developers <emacs-devel@gnu.org>,
> John Yates <john@yates-sheets.org>,
> Stefan Monnier <monnier@iro.umontreal.ca>,
> Philipp <p.stephani2@gmail.com>,
> Stephen Leake <stephen_leake@stephe-leake.org>,
> Theodor Thornhill <theo@thornhill.no>,
> ubolonton@gmail.com
>
>
>
> > On Dec 25, 2021, at 2:13 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> >
> >> From: Yuan Fu <casouri@gmail.com>
> >> Date: Sat, 25 Dec 2021 00:31:26 -0800
> >> Cc: Clément Pit-Claudel <cpitclaudel@gmail.com>,
> >> Eli Zaretskii <eliz@gnu.org>,
> >> Emacs developers <emacs-devel@gnu.org>,
> >> John Yates <john@yates-sheets.org>,
> >> Stefan Monnier <monnier@iro.umontreal.ca>,
> >> Philipp <p.stephani2@gmail.com>,
> >> Stephen Leake <stephen_leake@stephe-leake.org>,
> >> Theodor Thornhill <theo@thornhill.no>,
> >> ubolonton@gmail.com
> >>
> >> Sounds good, thanks. Eli, is there any profiling primitives in Emacs? How
> >> do you usually profile Emacs?
> >
> > If it's mainly Lisp code, then "M-x profiler-start RET RET" followed
> > by "M-x profiler-report RET”.
>
> Thanks. I mean C functions.
Emacs can be built with profiling support, see --enable-profiling.
Then you can run gprof on the output of an Emacs session.
Another option is to use perf on GNU/Linux.
- Re: Tree-sitter api, (continued)
- Re: Tree-sitter api, Philipp, 2021/12/18
- Re: Tree-sitter api, Eli Zaretskii, 2021/12/18
- Re: Tree-sitter api, Yuan Fu, 2021/12/18
- Re: Tree-sitter api, Eli Zaretskii, 2021/12/19
- Re: Tree-sitter api, Yuan Fu, 2021/12/19
- Re: Tree-sitter api, Yoav Marco, 2021/12/24
- Re: Tree-sitter api, Yoav Marco, 2021/12/24
- Re: Tree-sitter api, Yuan Fu, 2021/12/25
- Re: Tree-sitter api, Eli Zaretskii, 2021/12/25
- Re: Tree-sitter api, Yuan Fu, 2021/12/26
- Re: Tree-sitter api,
Eli Zaretskii <=
- Re: Tree-sitter api, Yuan Fu, 2021/12/29
- Re: Tree-sitter api, Eli Zaretskii, 2021/12/30
Re: Tree-sitter api, Daniel Martín, 2021/12/18