Add profiling and comments.


git-svn-id: http://svn.code.sf.net/p/rosegarden/code/trunk/rosegarden@13252 cf6a83e7-f017-4305-b0b3-678bde24f230