Test harness to profile segments of code.