Performance utils.