use reltime() function to gather statistics on coloring