I am benchmarking some code locally. In the code, I am calling Timer.record(), which is causing significant performance issues. It's causing the code to take almost 10 times longer to run. The tally version is 0.9.1.
Here is a screenshot of the Timer class.

Could you please fix this performance issue with the record() function?