Time log messages to find the bottleneck, but couldn't find it yet.