Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-13 Thread Andy Wingo
On Mon 13 Mar 2017 00:20, Matt Wette writes: > If lilypond is performing a lot of eval or lambda generation would turning > off optimization help? > > (compile expr #:opts ‘(#:partial-eval? #f #:cse? #f)) I think Lilypond is currently not going through the compiler at all, so no partial

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-12 Thread Matt Wette
If lilypond is performing a lot of eval or lambda generation would turning off optimization help? (compile expr #:opts ‘(#:partial-eval? #f #:cse? #f)) Matt

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-12 Thread Ludovic Courtès
Thomas Morley skribis: > Let me add, I'd be interested in examples of cross-compiled > applications having already done so, as well. It boils down to having a makefile rule along the lines of: %.go: %.scm guild compile --target="$(host)" -o $@ $< where $host is the cross-compilatio

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-12 Thread Thomas Morley
Hi, 2017-03-09 13:13 GMT+01:00 Ludovic Courtès : > Hello, > > Thomas Morley skribis: > >> Btw, I've improved my local setup to be able to test lilypond more >> quickly with different guile versions. Though I wasn't able to compile >> 1.8.8, neither from the repository nor from the tarball downloa

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-10 Thread Paul
On 03/10/2017 11:18 AM, Ludovic Courtès wrote: Thanks. As Andy wrote in that thread, it would be beneficial if LilyPond could pre-compile as much as possible of its core Scheme code. Hi, Yeah, it seems like that would be the next step in addressing the performance questions. That brings up

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-10 Thread Ludovic Courtès
Paul skribis: > On 03/09/2017 07:13 AM, Ludovic Courtès wrote: > >> What fraction of the Scheme code being run for this benchmark is >> pre-compiled (as a .go file)? > > I don't think any of LilyPond's Scheme code is pre-compiled at this point... > > Yep, as David Kastrup wrote in the "GNU Guile

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-09 Thread Paul
On 03/09/2017 07:13 AM, Ludovic Courtès wrote: What fraction of the Scheme code being run for this benchmark is pre-compiled (as a .go file)? I don't think any of LilyPond's Scheme code is pre-compiled at this point... Yep, as David Kastrup wrote in the "GNU Guile 2.1.7 released (beta)" thre

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-09 Thread Ludovic Courtès
Hello, Thomas Morley skribis: > Btw, I've improved my local setup to be able to test lilypond more > quickly with different guile versions. Though I wasn't able to compile > 1.8.8, neither from the repository nor from the tarball downloaded > from > https://www.gnu.org/software/guile/download/ >

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-09 Thread Thien-Thi Nguyen
() Thomas Morley () Thu, 9 Mar 2017 00:17:12 +0100 Btw, I've improved my local setup to be able to test lilypond more quickly with different guile versions. Though I wasn't able to compile 1.8.8, neither from the repository Strange, because the repo should have... nor from the tar

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-08 Thread David Kastrup
Thomas Morley writes: > So guile 2.1.7 is indeed faster than 2.0.14 with this test-file, otoh > I've redone testings with the other file and can confirm 2.1.7 being > slower there. > Currently I've no clue why. Lot's of output? The output files are generated in lily/paper-outputter.cc with

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-08 Thread Thomas Morley
2017-03-06 21:41 GMT+01:00 Andy Wingo : > On Sun 05 Mar 2017 15:01, Thomas Morley writes: > >> Here some timing values >> >> (1) >> lilypond-2.19.52 using guile 1.8.7 >> (I would have prefered to build lilypond with a guile-1.8.8 build from >> the guile-repository. Though my try to build it from t

Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-06 Thread Andy Wingo
On Sun 05 Mar 2017 15:01, Thomas Morley writes: > Here some timing values > > (1) > lilypond-2.19.52 using guile 1.8.7 > (I would have prefered to build lilypond with a guile-1.8.8 build from > the guile-repository. Though my try to build it from the > branch_release-1-8 failed. Instead attemptin