Re: Musings on performance, 2.2 and GOOPS (found factor 30)

2015-05-23 Thread Christopher Allan Webber
Jan Nieuwenhuizen writes:

 Jan Nieuwenhuizen writes:

 I have an application of about 10.000 LOC using Guile/GOOPS with
 performance problems.  I found a way (thanks Ludo!) to run it with
 and without GOOPS, and gained a factor of 30 in performance.  See
 details below.

 I just found out about Andy's wip-goops-refactor branch.  Using that
 gives me almost the same benefit (only 15-20% slower), without any of
 the modifications that I made over the past two weeks.

 Greetings, Jan

That's very cool to hear!
 - Chris



Re: [PATCH] Avoid GOOPS in (system foreign-object)?

2015-05-23 Thread Jan Nieuwenhuizen
Ludovic Courtès writes:

   time for i in `seq 1 30` ; do guile -c '(use-modules (oop goops))' ; done

Have you looked at --and tried this with-- Wingo's wip-goops-refactor
branch?  I just did and although I found some minor problems,
performance is amazing.

Greetings, Jan

-- 
Jan Nieuwenhuizen jann...@gnu.org | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  



Re: Musings on performance, 2.2 and GOOPS (found factor 30)

2015-05-23 Thread Jan Nieuwenhuizen
Jan Nieuwenhuizen writes:

 I have an application of about 10.000 LOC using Guile/GOOPS with
 performance problems.  I found a way (thanks Ludo!) to run it with
 and without GOOPS, and gained a factor of 30 in performance.  See
 details below.

I just found out about Andy's wip-goops-refactor branch.  Using that
gives me almost the same benefit (only 15-20% slower), without any of
the modifications that I made over the past two weeks.

Greetings, Jan

-- 
Jan Nieuwenhuizen jann...@gnu.org | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  



Re: [PATCH] Avoid GOOPS in (system foreign-object)?

2015-05-23 Thread Ludovic Courtès
Jan Nieuwenhuizen jann...@gnu.org skribis:

 Ludovic Courtès writes:

   time for i in `seq 1 30` ; do guile -c '(use-modules (oop goops))' ; done

 Have you looked at --and tried this with-- Wingo's wip-goops-refactor
 branch?  I just did and although I found some minor problems,
 performance is amazing.

This is good news, but the new API is currently scheduled for 2.0.12.

Ludo’.