Add --info option and optimize processing speed.