Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
31383fe4
Commit
31383fe4
authored
Dec 31, 2013
by
Mark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
detailed view profile panel fix
parent
5095401a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
detail.php
extensions/yii/debug/views/default/panels/profile/detail.php
+3
-1
No files found.
extensions/yii/debug/views/default/panels/profile/detail.php
View file @
31383fe4
<?php
use
yii\grid\GridView
;
use
yii\helpers\Html
;
?>
<h1>
Performance Profiling
</h1>
<p>
Total processing time:
<b>
<?php
echo
$time
;
?>
</b>
; Peak memory:
<b>
<?php
echo
$memory
;
?>
</b>
.
</p>
...
...
@@ -21,8 +22,9 @@ echo GridView::widget([
[
'attribute'
=>
'info'
,
'value'
=>
function
(
$data
)
{
return
str_repeat
(
'<span class="indent">→</span>'
,
$data
[
'level'
])
.
$data
[
'info'
]
;
return
str_repeat
(
'<span class="indent">→</span>'
,
$data
[
'level'
])
.
Html
::
encode
(
$data
[
'info'
])
;
},
'formtat'
=>
'html'
,
'options'
=>
[
'width'
=>
'60%'
,
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment