rack-mini-profiler 0.1.13.pre → 0.1.14.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/html/includes.js +1 -1
- data/lib/html/includes.tmpl +3 -3
- data/lib/mini_profiler/profiler.rb +1 -1
- data/rack-mini-profiler.gemspec +1 -1
- metadata +2 -2
data/lib/html/includes.js
CHANGED
|
@@ -114,7 +114,7 @@ var MiniProfiler = (function ($) {
|
|
|
114
114
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
} else if (ajaxStartTime != null && clientProbes.length > 0) {
|
|
117
|
+
} else if (ajaxStartTime != null && clientProbes && clientProbes.length > 0) {
|
|
118
118
|
clientPerformance = { timing: { navigationStart: ajaxStartTime.getTime() } };
|
|
119
119
|
ajaxStartTime = null;
|
|
120
120
|
}
|
data/lib/html/includes.tmpl
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
{{if HasSqlTimings}}
|
|
44
44
|
<td colspan="2" class="profiler-number profiler-percent-in-sql" title="${MiniProfiler.getSqlTimingsCount(Root)} queries spent ${MiniProfiler.formatDuration(DurationMillisecondsInSql)} ms of total request time">
|
|
45
45
|
${MiniProfiler.formatDuration(DurationMillisecondsInSql / DurationMilliseconds * 100)}
|
|
46
|
-
<span class="profiler-unit">% in
|
|
46
|
+
<span class="profiler-unit">% in sql</span>
|
|
47
47
|
</td>
|
|
48
48
|
{{/if}}
|
|
49
49
|
</tr>
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
<td class="profiler-duration {{if HasDuplicateSqlTimings}}profiler-warning{{/if}}" title="{{if HasDuplicateSqlTimings}}duplicate queries detected - {{/if}}${ExecutedReaders} reader, ${ExecutedScalars} scalar, ${ExecutedNonQueries} non-query statements executed">
|
|
142
142
|
<a class="profiler-queries-show">
|
|
143
143
|
{{if HasDuplicateSqlTimings}}<span class="profiler-nuclear">!</span>{{/if}}
|
|
144
|
-
${SqlTimings.length} <span class="profiler-unit">
|
|
144
|
+
${SqlTimings.length} <span class="profiler-unit">sql</span>
|
|
145
145
|
</a>
|
|
146
146
|
</td>
|
|
147
147
|
<td class="profiler-duration" title="aggregate duration of all queries in this step (excludes children)">
|
|
@@ -192,4 +192,4 @@
|
|
|
192
192
|
</td>
|
|
193
193
|
</tr>
|
|
194
194
|
|
|
195
|
-
</script>
|
|
195
|
+
</script>
|
data/rack-mini-profiler.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "rack-mini-profiler"
|
|
3
|
-
s.version = "0.1.
|
|
3
|
+
s.version = "0.1.14.pre"
|
|
4
4
|
s.summary = "Profiles loading speed for rack applications."
|
|
5
5
|
s.authors = ["Aleks Totic","Sam Saffron", "Robin Ward"]
|
|
6
6
|
s.description = "Page loading speed displayed on every page. Optimize while you develop, performance is a feature."
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rack-mini-profiler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.14.pre
|
|
5
5
|
prerelease: 7
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -131,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
131
131
|
version: '0'
|
|
132
132
|
segments:
|
|
133
133
|
- 0
|
|
134
|
-
hash: -
|
|
134
|
+
hash: -291023635
|
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
none: false
|
|
137
137
|
requirements:
|