Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Performance improvement Calculation mumbo jumbo

Well the other day I improved the performance of a particualr piece of code from 34sec to 2 sec and I was calcuating the percentage for the same i.e (34-2)/34 i.e 94.11 percentage and when I told this number out in a meeting people were not that amazed.. I am wondering if that was a wrong number that I communicated..

How do you generally measure the improvement and look good at the same time?

like image 330
Michelle Avatar asked Aug 16 '11 22:08

Michelle


People also ask

How do you calculate run time improvement?

Some math behind running improved time = 95% of race time and a formula for that: improved time = race time * 0.95 - here it is!

How do you calculate 6 months percentage?

To calculate the percentage of monthly growth, subtract the previous month's measurement from the current month's measurement. Then, divide the result by the previous month's measurement and multiply by 100 to convert the answer into a percentage.

How do you calculate percentage increase in response time?

((old time - new time) / old time) * 100 This formula will give the Percentage Decreased in New Response time.


1 Answers

Speed (or throughput) is proportional to the reciprocal of time. So it's actually a factor of 34/2 = 17x faster (which you can state as a (34-2)/2 = 1600% speed increase if you want to sound impressive).

like image 70
Paul R Avatar answered Oct 13 '22 22:10

Paul R