Since the `StatTimer` is not used in the worker, duplicating this code on both the main and worker sides seem completely unnecessary.
Since the `StatTimer` is not used in the worker, duplicating this code on both the main and worker sides seem completely unnecessary.