Skip to content

Commit

Permalink
chore: add short comment for the TRAP_XHPROF_SORT env; update compose…
Browse files Browse the repository at this point in the history
…r.lock
  • Loading branch information
roxblnfk committed Jun 1, 2024
1 parent aea9261 commit 5939b7d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 24 deletions.
44 changes: 22 additions & 22 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions src/Config/Server/Files/XHProf.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@
*/
final class XHProf extends ObserverConfig
{
/** @var int<0, 3> Edges sorting algorithm */
/**
* @var int<0, 3> Edges sorting algorithm
* Where:
* 0 - Deep-first
* 1 - Deep-first with sorting by WT
* 2 - Level-by-level
* 3 - Level-by-level with sorting by WT
*/
#[Env('TRAP_XHPROF_SORT')]
public int $algorithm = 1;
public int $algorithm = 3;

/** @var non-empty-string|null Path to XHProf files */
#[Env('TRAP_XHPROF_PATH')]
Expand Down

0 comments on commit 5939b7d

Please sign in to comment.