Calculating calculation speed