A lipid profile is a blood test usually administered after fasting for nine to 12 hours. It measures LDL cholesterol, total cholesterol, HDL cholesterol, and triglyceride levels. It is the preferred test for measuring cholesterol levels.