testing speed of animation