Change timing prints to wxLogMessage() so that we can compare debug and release build.