Apologies if this is a silly question, but why is console.clear() needed for this to work?
EDIT: Oh, I get it, it must be housekeeping to clear the log messages generated by the profiler.
EDIT: Oh, I get it, it must be housekeeping to clear the log messages generated by the profiler.