MarkovChain class has a static constant PROFILE which turns on fine-scale timing of the parts of the operations. It is unnecessary to have this on for the release versions and may have (a small) burden.
Simple solution is to set it to false unless needed (this has the advantage that even the conditional statements won't be compiled).