check calculation duration