Hi Jerome,
2008/8/10 Jerome Laheurte <[EMAIL PROTECTED]>:
>
> I noticed something strange. When I run TaskCoach from the Release0_70
> branch, it works fine. When I run it from rev. 1196 (before my merge)
> from trunk, fine. When I run it from HEAD trunk, it's slow as hell and
> takes up to 80% CPU doing nothing.
>
> Does anybody notice the same thing ? If so, I probably did something
> very wrong when merging.
Yeah, I noticed it too. It's probably the EffortViewerColumnPopupMenu
that's reconstructed on every wx.EVT_UI_UPDATE (basically every time
you open a menu, hover over a button, etc.). From this comment (which
is yours I think?):
# Since the aggregation can change in the viewer's lifetime and
# the UICommands depend on it, this is getColumnUICommands instead
# of createColumnUICommands.
I conclude we do need to cache the ColumnUICommands. I'm working on it.
Cheers, Frank