TimeMeasureHelper now disables the garbage collector during the measurement