The efficiency is calculated by computing the power delivered to the LED itself, which is then divided by the average input power. By using the LED's forward voltage and current as the output power, the losses in the sense resistor are kept out of the output power equation, resulting in lower efficiency.