Seeing high latencies between two subsequent activity task executions

What SDK do you use? Could you share your worker initialization code?