[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' a
From: |
Eli Zaretskii |
Subject: |
bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays. |
Date: |
Fri, 01 Mar 2024 18:34:30 +0200 |
> From: Stephen Berman <stephen.berman@gmx.net>
> Cc: acorallo@gnu.org, robertstephenboyer@gmail.com, 69480@debbugs.gnu.org
> Date: Fri, 01 Mar 2024 14:53:18 +0100
>
> On Fri, 01 Mar 2024 15:41:24 +0200 Eli Zaretskii <eliz@gnu.org> wrote:
>
> >> That says almost all memory and CPU are consumed by `build-sieve':
> >
> > This is skewed, use cpu profiling instead of "memory" profiling.
>
> Ah, ok.
>
> >> But I don't see how that bears on the difference between native and byte
> >> compilation in my timings versus yours and Andrea's.
> >
> > My suggestion was to compare profiles in the byte-compiled and
> > native-compiled cases.
> >
> > Btw, are you running both cases in the same session? If so, don't:
> > restart Emacs and run the other case instead.
>
> Ok, I've now done that. Here's the report for the run with native
> compilation:
>
> 12599 95% - command-execute
> 12487 95% - funcall-interactively
> 12486 95% - eval-expression
> 12485 95% - #<compiled -0x5db3e1955cb81d1>
> 12485 95% - #<compiled -0x8a5cf032951a0fe>
> 12480 95% - eval
> 12480 95% - progn
> 12367 94% - benchmark-call
> 12367 94% - #<lambda 0x8c97b8cb7bd82>
> 12367 94% build-sieve
> 113 0% - emacs-lisp-native-compile-and-load
> 113 0% - emacs-lisp-native-compile
> 113 0% - native-compile
> 79 0% - comp--native-compile
> 37 0% - comp--fwprop
Why are subroutines of native-compilation in the profile?
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., (continued)
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Andrea Corallo, 2024/03/01
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Stephen Berman, 2024/03/01
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Eli Zaretskii, 2024/03/01
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Stephen Berman, 2024/03/01
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Eli Zaretskii, 2024/03/01
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Stephen Berman, 2024/03/01
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Andrea Corallo, 2024/03/01
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Stephen Berman, 2024/03/01
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Andrea Corallo, 2024/03/01
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Stephen Berman, 2024/03/01
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays.,
Eli Zaretskii <=
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Stephen Berman, 2024/03/01
- bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Eli Zaretskii, 2024/03/01
bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays., Eli Zaretskii, 2024/03/01