Bugfix: The jobProfiler measured time during optimize