[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [PATCH] arts performance issues
From:       Stefan Westerfeld <stefan () space ! twc ! de>
Date:       2002-03-22 7:51:57
[Download RAW message or body]

   Hi!

As KDE3.0 will ship with the new gsl scheduler, Tim and I did some profiling
of this in the last days and improved the performance quite a bit. The
attached patch

 * fixes a bug in gsl_engine_const_values (insert in the array would insert
   the same value more than once) resulting in quite a performance hit when
   constant signals were heavily used

 * fixes performance issues with locks by using unix98 pthread functions
   directly when available, instead of emulating things like recursive
   mutexes manually

 * improves the performance of updateStarted function by only iterating over
   all nodes if some changed their "running" state

 * adds gslglib related configure checks which should improve portability

For my brahms testcase (playing the demosong), this results in a > 20% speedup.
It should be safe, so I think it should go in for aRts-1.0.0. But it won't
hurt if you review it... ;)

I already tried to send this mail yesterday, but it seems that the patch was
too big for the list. Anyway, here is an URL instead of an attachment:

http://space.twc.de/~stefan/kde/download/20020321-arts-gsl-performance.diff

   Cu... Stefan
-- 
  -* Stefan Westerfeld, stefan@space.twc.de (PGP!), Hamburg/Germany
     KDE Developer, project infos at http://space.twc.de/~stefan/kde *-         
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic