[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How should this profiler report interpreted?
From: |
Eli Zaretskii |
Subject: |
Re: How should this profiler report interpreted? |
Date: |
Fri, 26 Mar 2021 17:35:49 +0300 |
> Date: Fri, 26 Mar 2021 13:59:36 +0000
> From: scame <laszlomail@protonmail.com>
>
> I have a function which I use to process some files and it works
> slowly with bigger files. I tried to profile it and I got this output.
> Only the relevant part is shown:
>
> - save-excursion 9817 99%
> - insert 2 0%
> - jit-lock-after-change 1 0%
> - run-hook-with-args 1 0%
> font-lock-extend-jit-lock-region-after-change 1 0%
>
> Does this mean the save-excursion call itself consumes 99% of the CPU?
Yes (assuming that nothing else went on in that Emacs session when you
profiled the function you were interested in).
- How should this profiler report interpreted?, scame, 2021/03/26
- Re: How should this profiler report interpreted?, scame, 2021/03/26
- Re: How should this profiler report interpreted?, Emanuel Berg, 2021/03/26
- Re: How should this profiler report interpreted?, Stefan Monnier, 2021/03/26
- Re: How should this profiler report interpreted?, Emanuel Berg, 2021/03/26
- Re: How should this profiler report interpreted?, Stefan Monnier, 2021/03/26
- Re: How should this profiler report interpreted?, Emanuel Berg, 2021/03/26
- Re: How should this profiler report interpreted?, Emanuel Berg, 2021/03/27
- Re: How should this profiler report interpreted?, Emanuel Berg, 2021/03/27
Re: How should this profiler report interpreted?, scame, 2021/03/26