cal speed percent from stored proc