[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LilyPond 2.23.6 released
From: |
Thomas Scharkowski |
Subject: |
Re: LilyPond 2.23.6 released |
Date: |
Sun, 20 Feb 2022 09:25:41 +0100 |
Quick answer: I can notice the speed difference in the terminal output from the
very start.
I will try the diff later.
Thomas
> Am 19.02.2022 um 20:12 schrieb Jean Abou Samra <jean@abou-samra.fr>:
>
> Le 19/02/2022 à 16:41, Thomas Scharkowski a écrit :
>> One more test:
>> I installed both versions on a 2013 iMac intel Core i5.
>>
>> 24,3“ MacPorts version
>> 51,4“ gitab version
>
>
> OK, bear with me. Can you please take the following steps
> and report results? It is really important for us to identify
> what is causing this slowdown.
>
> First, does it look like one step of the compilation in particular
> is slow (for example, it takes time during "Preprocessing graphical
> objects"), or do all steps take more time? Pro tip: run lilypond with
> --verbose to have a more fine-grained view of the process.
>
> Second, edit the file lily.scm (should be under
> /path/to/lilypond-2.23.6/share/lilypond/2.23.6/scm/lily)
> to apply the following diff:
>
>
> @@ -844,8 +844,11 @@ PIDs or the number of the process."
>
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>
> +(use-modules (statprof))
> +
> (define-public (lilypond-main files)
> "Entry point for LilyPond."
> + (statprof (lambda ()
> (eval-string (ly:command-line-code))
> (if (ly:get-option 'help)
> (begin (ly:option-usage)
> @@ -927,7 +930,7 @@ PIDs or the number of the process."
> (ly:exit 1 #f))
> (begin
> (ly:exit 0 #f)))))
> -
> +))
> (define-public (session-start-record)
> (for-each (lambda (v)
> ;; import all public session variables natively into parser
>
>
>
> Namely, add "(use-modules (statprof))" before the definition of
> lilypond-main, "(statprof (lambda ()" after the line "Entry point
> for LilyPond", and "))" after the function. This makes LilyPond
> run under a profiling tool and report output at the end of the
> compilation. Now run once with GUILE_AUTO_COMPILE=1, to recompile
> lily.scm. The second run will be clean (all files byte-compiled);
> can you report the big list of timings that is printed at the end?
>
> Thanks in advance,
> Jean
>
- Re: LilyPond 2.23.6 released, (continued)
- Re: LilyPond 2.23.6 released, Jinsong Zhao, 2022/02/12
- \repeat segno (Was re: LilyPond 2.23.6 released), Joel C. Salomon, 2022/02/13
- Re: LilyPond 2.23.6 released, Thomas Scharkowski, 2022/02/16
- Re: LilyPond 2.23.6 released, Jean Abou Samra, 2022/02/16
- Re: LilyPond 2.23.6 released, Thomas Scharkowski, 2022/02/17
- Re: LilyPond 2.23.6 released, Jean Abou Samra, 2022/02/17
- Re: LilyPond 2.23.6 released, Thomas Scharkowski, 2022/02/18
- Re: LilyPond 2.23.6 released, Thomas Scharkowski, 2022/02/19
- Re: LilyPond 2.23.6 released, Jean Abou Samra, 2022/02/19
- Re: LilyPond 2.23.6 released,
Thomas Scharkowski <=
- Re: LilyPond 2.23.6 released, Luca Fascione, 2022/02/20
- Message not available
- Message not available
- Re: LilyPond 2.23.6 released, Thomas Scharkowski, 2022/02/20
Re: LilyPond 2.23.6 released, Carl Sorensen, 2022/02/25