From 6c7385c539c1d3a48315dc2370273526befde3a5 Mon Sep 17 00:00:00 2001 From: Julian Date: Fri, 29 Jul 2016 02:47:34 +0900 Subject: stats: disable coloring peak performance data The peak value is probably not very well suited to draw many conclusions from it. --- player/lua/stats.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'player') diff --git a/player/lua/stats.lua b/player/lua/stats.lua index 8a88da8831..579cb67dfd 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -185,7 +185,8 @@ local function append_perfdata(s) local last_s = vo_p["render-last"] + vo_p["present-last"] + vo_p["upload-last"] local avg_s = vo_p["render-avg"] + vo_p["present-avg"] + vo_p["upload-avg"] - local peak_s = vo_p["render-peak"] + vo_p["present-peak"] + vo_p["upload-peak"] + --local peak_s = vo_p["render-peak"] + vo_p["present-peak"] + vo_p["upload-peak"] + local peak_s = -math.huge -- highlight i with a red border when t exceeds the time for one frame -- or yellow when it exceeds a given threshold -- cgit v1.2.3