From b3e92e14dbbabf9c87f8aa8df579ff0c323eab37 Mon Sep 17 00:00:00 2001 From: Andy Postnikov Date: Fri, 30 Apr 2021 03:52:06 +0300 Subject: [PATCH] Set SVG render as default for callgraph.php This is render needs no server fonts and doing processing faster nowadays --- xhprof_html/callgraph.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xhprof_html/callgraph.php b/xhprof_html/callgraph.php index 46fc6a52..22d1c2f2 100644 --- a/xhprof_html/callgraph.php +++ b/xhprof_html/callgraph.php @@ -47,8 +47,8 @@ // parents/children functions of it will be shown. 'func' => array(XHPROF_STRING_PARAM, ''), - // image type, can be 'jpg', 'gif', 'ps', 'png' - 'type' => array(XHPROF_STRING_PARAM, 'png'), + // image type, can be 'jpg', 'gif', 'ps', 'png', 'svg' + 'type' => array(XHPROF_STRING_PARAM, 'svg'), // only functions whose exclusive time over the total time // is larger than this threshold will be shown.