Skip to content

Commit

Permalink
Merge pull request #43 from perftools/default-flags
Browse files Browse the repository at this point in the history
Change default flags to include cpu and memory
  • Loading branch information
glensc authored Oct 12, 2020
2 parents 46fcefe + aaa28d2 commit a495d66
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Profiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,12 @@ private function getDefaultConfig()
'profiler.enable' => function () {
return true;
},
'profiler.flags' => array(),
'profiler.flags' => array(
ProfilingFlags::CPU,
ProfilingFlags::MEMORY,
ProfilingFlags::NO_BUILTINS,
ProfilingFlags::NO_SPANS,
),
'profiler.options' => array(),
'profiler.exclude-env' => array(),
'profiler.simple_url' => function ($url) {
Expand Down

0 comments on commit a495d66

Please sign in to comment.