More profiling throughout the code.