Profile various core functions.