Cantabile Development Blog

Follow the development of music software Cantabile

Articles | Full Index | RSS Feed


Nice UI, Shame About the Performance

With the plugin selector now pretty much finished, I thought I'd bring the whole UI together to see how it's looking. (Click image for full size screen shot)

images/Everything_thumb.png

Well it looks OK I suppose, but performance is really bad. On my Core II Duo notebook, with the level meters randomly animated and the main window maximized its burning about 70% cpu - just for the UI.

Putting in some code to gather some basic statistics it's running at about 90 fps and stretching blitting about 75 million pixels per second.

Well at least I've got a fair idea what's wrong, several approaches on how to fix it, and it was a non-optimized debug build I was testing with. I just didn't expect it to be that bad.

And more bad news. In getting the application menu and plugin selector working I had to make some changes that have broken some other things - like popup sliders don't work any more, there's a crash on resizing too small and a few other annoyances like the application menu button painting itself half one color and half another.

Oh well, pressing on regardless...

Posted on May 19, 2007

Share This

Leave A Comment

All comments will be reviewed for spam before being displayed.