more effectively measure time