gh - make run time information a function

The function prints run time to the page only if in "debug mode".