int percentage = (int)(100.0 * (duration - expectedOnMyMachine) / expectedOnMyMachine);
logMessage += ". (" + percentage + "% longer).";
}
logMessage += " Expected: " + expectedOnMyMachine + "." +
" Actual: " + duration + "." + Timings.getStatistics() ;
<BUG>if (duration < expectedOnMyMachine) {
TeamCityLogger.info(logMessage);</BUG>
System.out.println("SUCCESS: "+logMessage);
}
else if (duration < expectedOnMyMachine * acceptableChangeFactor) {

int percentage = (int)(100.0 * (duration - expectedOnMyMachine) / expectedOnMyMachine);
logMessage += ". (" + percentage + "% longer).";
}
logMessage += " Expected: " + expectedOnMyMachine + "." +
" Actual: " + duration + "." + Timings.getStatistics() ;
if (duration < expectedOnMyMachine) {
int percentage = (int)(100.0 * (expectedOnMyMachine - duration) / expectedOnMyMachine);
logMessage = "(" + percentage + "% faster). " + logMessage;
TeamCityLogger.info(logMessage);
System.out.println("SUCCESS: "+logMessage);
}
else if (duration < expectedOnMyMachine * acceptableChangeFactor) {
