Skip to content

Commit

Permalink
Set SVG render as default for callgraph.php
Browse files Browse the repository at this point in the history
This is render needs no server fonts and doing processing faster nowadays
  • Loading branch information
andypost authored Apr 30, 2021
1 parent f802467 commit b3e92e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xhprof_html/callgraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b3e92e1

Please sign in to comment.