Calculate Processing Efficiency In Python With Example