perf charts: change stored procedure used to straight average method