Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
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
Yeray Santana Hualde
syncEnrollments
Commits
fe36d7fd
Commit
fe36d7fd
authored
Apr 04, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added total SQL execution time to profiler.
Signed-off-by:
Taylor Otwell
<
taylorotwell@gmail.com
>
parent
01a7991b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
profiler.css
laravel/profiling/profiler.css
+1
-0
template.blade.php
laravel/profiling/template.blade.php
+8
-1
No files found.
laravel/profiling/profiler.css
View file @
fe36d7fd
...
@@ -180,6 +180,7 @@ background-position:5px -8px;
...
@@ -180,6 +180,7 @@ background-position:5px -8px;
span
.anbu-count
span
.anbu-count
{
{
text-transform
:
none
!important
;
margin-left
:
0.5em
!important
;
margin-left
:
0.5em
!important
;
background-color
:
#555
!important
;
background-color
:
#555
!important
;
display
:
inline-block
!important
;
display
:
inline-block
!important
;
...
...
laravel/profiling/template.blade.php
View file @
fe36d7fd
...
@@ -53,7 +53,14 @@
...
@@ -53,7 +53,14 @@
<ul
id=
"anbu-open-tabs"
class=
"anbu-tabs"
>
<ul
id=
"anbu-open-tabs"
class=
"anbu-tabs"
>
<li><a
data-anbu-tab=
"anbu-log"
class=
"anbu-tab"
href=
"#"
>
Log
<span
class=
"anbu-count"
>
{{ count($logs) }}
</span></a></li>
<li><a
data-anbu-tab=
"anbu-log"
class=
"anbu-tab"
href=
"#"
>
Log
<span
class=
"anbu-count"
>
{{ count($logs) }}
</span></a></li>
<li><a
data-anbu-tab=
"anbu-sql"
class=
"anbu-tab"
href=
"#"
>
SQL
<span
class=
"anbu-count"
>
{{ count($queries) }}
</span></a></li>
<li>
<a
data-anbu-tab=
"anbu-sql"
class=
"anbu-tab"
href=
"#"
>
SQL
<span
class=
"anbu-count"
>
{{ count($queries) }}
</span>
@if (count($queries))
<span
class=
"anbu-count"
>
{{ array_sum(array_map(function($q) { return $q[1]; }, $queries)) }}ms
</span>
@endif
</a>
</li>
<li
class=
"anbu-tab-right"
><a
id=
"anbu-hide"
href=
"#"
>
↦
</a></li>
<li
class=
"anbu-tab-right"
><a
id=
"anbu-hide"
href=
"#"
>
↦
</a></li>
<li
class=
"anbu-tab-right"
><a
id=
"anbu-close"
href=
"#"
>
×
</a></li>
<li
class=
"anbu-tab-right"
><a
id=
"anbu-close"
href=
"#"
>
×
</a></li>
<li
class=
"anbu-tab-right"
><a
id=
"anbu-zoom"
href=
"#"
>
⇅
</a></li>
<li
class=
"anbu-tab-right"
><a
id=
"anbu-zoom"
href=
"#"
>
⇅
</a></li>
...
...
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