Re: Frameworks & Performance Question

2013-12-31 Thread Sebastian Kügler
On Monday, December 30, 2013 12:54:20 Christoph Cullmann wrote: > > On Sunday 29 December 2013 20:07:38 Christoph Cullmann wrote: > > > #10 0x73fbeaa0 in KConfig::reparseConfiguration (this=0x688130) > > > at > > > /home/cullmann/local/kf5/src/frameworks/kconfig/src/core/kconfig.cpp:633 >

Re: Frameworks & Performance Question

2013-12-31 Thread Christoph Cullmann
> On 12/30/2013 06:50 PM, David Faure wrote: > > On Monday 30 December 2013 17:20:23 Hugo Pereira Da Costa wrote: > >> Indeed oxygen (@KDE4) was using: > >> > >> connect( KGlobalSettings::self(), SIGNAL(kdisplayPaletteChanged()), > >> this, SLOT(globalPaletteChanged()) ); > > Interesting, so every

Re: Frameworks & Performance Question

2013-12-30 Thread David Faure
On Monday 30 December 2013 18:54:45 Hugo Pereira Da Costa wrote: > No no: in KDE4, oxygen was not inheriting from KStyle but QCommonStyle. > In KF5 it is inheriting again from the (much cleaned-up) KStyle class. > So that I'm all for moving it (or any KF5 equivalent) to KStyle. > (just not the way

Re: Frameworks & Performance Question

2013-12-30 Thread Hugo Pereira Da Costa
On 12/30/2013 06:50 PM, David Faure wrote: On Monday 30 December 2013 17:20:23 Hugo Pereira Da Costa wrote: Indeed oxygen (@KDE4) was using: connect( KGlobalSettings::self(), SIGNAL(kdisplayPaletteChanged()), this, SLOT(globalPaletteChanged()) ); Interesting, so every style had to do this, rat

Re: Frameworks & Performance Question

2013-12-30 Thread David Faure
On Monday 30 December 2013 17:20:23 Hugo Pereira Da Costa wrote: > Indeed oxygen (@KDE4) was using: > > connect( KGlobalSettings::self(), SIGNAL(kdisplayPaletteChanged()), > this, SLOT(globalPaletteChanged()) ); Interesting, so every style had to do this, rather than KStyle doing it centrally.

Re: Frameworks & Performance Question

2013-12-30 Thread Hugo Pereira Da Costa
On 12/30/2013 03:17 PM, David Faure wrote: On Monday 30 December 2013 14:52:51 Mark Gaiser wrote: Could something similar be done in kstyle constructor's ? (though I have no clue about which signal things should connect to). We just have to decide on a dbus signal name (see further down for exa

Re: Frameworks & Performance Question

2013-12-30 Thread David Faure
On Monday 30 December 2013 14:52:51 Mark Gaiser wrote: > > Could something similar be done in kstyle constructor's ? > > (though I have no clue about which signal things should connect to). We just have to decide on a dbus signal name (see further down for examples). Who emits it? Some kcontrol m

Re: Frameworks & Performance Question

2013-12-30 Thread Mark Gaiser
On Mon, Dec 30, 2013 at 2:11 PM, Hugo Pereira Da Costa wrote: > On 12/30/2013 02:08 PM, Hugo Pereira Da Costa wrote: > > On 12/30/2013 12:42 PM, David Faure wrote: > > On Sunday 29 December 2013 20:07:38 Christoph Cullmann wrote: > > Hi, > > if I play around with Kate on KF5, it laggs like hell th

Re: Frameworks & Performance Question

2013-12-30 Thread Hugo Pereira Da Costa
On 12/30/2013 02:08 PM, Hugo Pereira Da Costa wrote: On 12/30/2013 12:42 PM, David Faure wrote: On Sunday 29 December 2013 20:07:38 Christoph Cullmann wrote: Hi, if I play around with Kate on KF5, it laggs like hell the whole time. I tried to profile, but guess I am stuck a bit. #10 0x7f

Re: Frameworks & Performance Question

2013-12-30 Thread Hugo Pereira Da Costa
On 12/30/2013 12:42 PM, David Faure wrote: On Sunday 29 December 2013 20:07:38 Christoph Cullmann wrote: Hi, if I play around with Kate on KF5, it laggs like hell the whole time. I tried to profile, but guess I am stuck a bit. #10 0x73fbeaa0 in KConfig::reparseConfiguration (this=0x68

Re: Frameworks & Performance Question

2013-12-30 Thread Christoph Cullmann
> On Sun, Dec 29, 2013 at 08:07:38PM +0100, Christoph Cullmann wrote: > > if I play around with Kate on KF5, it laggs like hell the whole time. > > > > I tried to profile, but guess I am stuck a bit. > > How did you profile? I'd recommend using 'perf', it's pretty simple to use: > > - perf reco

Re: Frameworks & Performance Question

2013-12-30 Thread Christoph Cullmann
> On Sunday 29 December 2013 20:07:38 Christoph Cullmann wrote: > > Hi, > > > > if I play around with Kate on KF5, it laggs like hell the whole time. > > > > I tried to profile, but guess I am stuck a bit. > > > > #10 0x73fbeaa0 in KConfig::reparseConfiguration (this=0x688130) at > > /ho

Re: Frameworks & Performance Question

2013-12-30 Thread David Faure
On Sunday 29 December 2013 20:07:38 Christoph Cullmann wrote: > Hi, > > if I play around with Kate on KF5, it laggs like hell the whole time. > > I tried to profile, but guess I am stuck a bit. > > #10 0x73fbeaa0 in KConfig::reparseConfiguration (this=0x688130) at > /home/cullmann/local/

Re: Frameworks & Performance Question

2013-12-29 Thread Martin Sandsmark
On Sun, Dec 29, 2013 at 08:07:38PM +0100, Christoph Cullmann wrote: > if I play around with Kate on KF5, it laggs like hell the whole time. > > I tried to profile, but guess I am stuck a bit. How did you profile? I'd recommend using 'perf', it's pretty simple to use: - perf record ./kate - per

Re: Frameworks & Performance Question

2013-12-29 Thread Mark Gaiser
On Sun, Dec 29, 2013 at 8:07 PM, Christoph Cullmann wrote: > Hi, > > if I play around with Kate on KF5, it laggs like hell the whole time. > > I tried to profile, but guess I am stuck a bit. > > Interesting is that most times you see it lag and you interrupt it then, it > hangs around in: > > #0

Frameworks & Performance Question

2013-12-29 Thread Christoph Cullmann
Hi, if I play around with Kate on KF5, it laggs like hell the whole time. I tried to profile, but guess I am stuck a bit. Interesting is that most times you see it lag and you interrupt it then, it hangs around in: #0 0x73fc1a90 in operator< (k1=..., k2=...) at /home/cullmann/local/k