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
c3c642dd
Commit
c3c642dd
authored
Dec 31, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1723 from Ragazzo/profile_panel_fix
detailed view profile panel fix
parents
5095401a
a82f7c52
Hide 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 @
c3c642dd
<?php
<?php
use
yii\grid\GridView
;
use
yii\grid\GridView
;
use
yii\helpers\Html
;
?>
?>
<h1>
Performance Profiling
</h1>
<h1>
Performance Profiling
</h1>
<p>
Total processing time:
<b>
<?php
echo
$time
;
?>
</b>
; Peak memory:
<b>
<?php
echo
$memory
;
?>
</b>
.
</p>
<p>
Total processing time:
<b>
<?php
echo
$time
;
?>
</b>
; Peak memory:
<b>
<?php
echo
$memory
;
?>
</b>
.
</p>
...
@@ -21,8 +22,9 @@ echo GridView::widget([
...
@@ -21,8 +22,9 @@ echo GridView::widget([
[
[
'attribute'
=>
'info'
,
'attribute'
=>
'info'
,
'value'
=>
function
(
$data
)
{
'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'
])
;
},
},
'format'
=>
'html'
,
'options'
=>
[
'options'
=>
[
'width'
=>
'60%'
,
'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