rails_performance 0.0.1.17 → 0.0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/views/rails_performance/_summary.html.erb +3 -3
- data/app/views/rails_performance/_trace.html.erb +2 -1
- data/app/views/rails_performance/crashes.html.erb +3 -3
- data/app/views/rails_performance/javascripts/panel.js +1 -2
- data/app/views/rails_performance/recent.html.erb +3 -3
- data/app/views/rails_performance/requests.html.erb +6 -6
- data/lib/rails_performance/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39436989afe127c5268d13685c11384a13051b44efdc4dac1705e671c44a0147
|
4
|
+
data.tar.gz: 72988c7f770d87482c82d4699c3a2956acc4268addb22820a4093de20d1de9e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ed81e6a440c901d68b78bda24c00340a905ac18559499f5e58f341f82961b1e3c2cfda239fbd3c286fcf4b94a61675972db1fb64e696e805df99cc8b56e2577
|
7
|
+
data.tar.gz: faf3d55fb96cd5afa23c39ecc4dc0bcb76ec0caa84e9520229ead2660f8b7557bc4497b8ba5aee8c0e1342de5b3cd38ac272db70616f8ca041da1c61e0567bbc
|
data/README.md
CHANGED
@@ -26,9 +26,9 @@
|
|
26
26
|
<td><%= link_to_path(e) %></td>
|
27
27
|
<td><%= e[:format] %></td>
|
28
28
|
<td><%= status_tag e[:status] %></td>
|
29
|
-
<td><%= ms e[:duration] %></td>
|
30
|
-
<td><%= ms e[:view_runtime] %></td>
|
31
|
-
<td><%= ms e[:db_runtime] %></td>
|
29
|
+
<td class="nowrap"><%= ms e[:duration] %></td>
|
30
|
+
<td class="nowrap"><%= ms e[:view_runtime] %></td>
|
31
|
+
<td class="nowrap"><%= ms e[:db_runtime] %></td>
|
32
32
|
</tr>
|
33
33
|
<% end %>
|
34
34
|
</tbody>
|
@@ -24,9 +24,9 @@
|
|
24
24
|
<td><%= e[:format] %></td>
|
25
25
|
<td><%= link_to_path(e) %></td>
|
26
26
|
<td><%= status_tag e[:status] %></td>
|
27
|
-
<td><%= ms e[:duration] %></td>
|
28
|
-
<td><%= ms e[:view_runtime] %></td>
|
29
|
-
<td><%= ms e[:db_runtime] %></td>
|
27
|
+
<td class="nowrap"><%= ms e[:duration] %></td>
|
28
|
+
<td class="nowrap"><%= ms e[:view_runtime] %></td>
|
29
|
+
<td class="nowrap"><%= ms e[:db_runtime] %></td>
|
30
30
|
</tr>
|
31
31
|
<% end %>
|
32
32
|
</tbody>
|
@@ -5,14 +5,13 @@ function hidePanel() {
|
|
5
5
|
}
|
6
6
|
|
7
7
|
function showPanel() {
|
8
|
+
$(".cd-panel__container").scrollTop(0);
|
8
9
|
$(".panel-overlay").show();
|
9
10
|
$('.cd-panel').addClass('cd-panel--is-visible');
|
10
11
|
$('body').addClass('panel-visible');
|
11
|
-
|
12
12
|
$('.cd-panel__content table').stupidtable();
|
13
13
|
}
|
14
14
|
|
15
|
-
|
16
15
|
$(function() {
|
17
16
|
var panel = {};
|
18
17
|
window.panel = panel;
|
@@ -27,9 +27,9 @@
|
|
27
27
|
<td><%= e[:format] %></td>
|
28
28
|
<td><%= link_to_path(e) %></td>
|
29
29
|
<td><%= status_tag e[:status] %></td>
|
30
|
-
<td><%= ms e[:duration] %></td>
|
31
|
-
<td><%= ms e[:view_runtime] %></td>
|
32
|
-
<td><%= ms e[:db_runtime] %></td>
|
30
|
+
<td class="nowrap"><%= ms e[:duration] %></td>
|
31
|
+
<td class="nowrap"><%= ms e[:view_runtime] %></td>
|
32
|
+
<td class="nowrap"><%= ms e[:db_runtime] %></td>
|
33
33
|
<td>
|
34
34
|
<% if e[:request_id].present? %>
|
35
35
|
<%= link_to rails_performance.rails_performance_trace_path(id: e[:request_id]), remote: true do %>
|
@@ -28,12 +28,12 @@
|
|
28
28
|
<td><%= link_to groups[0], rails_performance.rails_performance_summary_path({controller_eq: c, action_eq: a}), remote: true %></td>
|
29
29
|
<td><%= link_to groups[1]&.upcase, rails_performance.rails_performance_summary_path({controller_eq: c, action_eq: a, format_eq: groups[1]}), remote: true %></td>
|
30
30
|
<td><%= e[:count] %></td>
|
31
|
-
<td><%= ms e[:duration_average] %></td>
|
32
|
-
<td><%= ms e[:view_runtime_average] %></td>
|
33
|
-
<td><%= ms e[:db_runtime_average] %></td>
|
34
|
-
<td><%= ms e[:duration_slowest] %></td>
|
35
|
-
<td><%= ms e[:view_runtime_slowest] %></td>
|
36
|
-
<td><%= ms e[:db_runtime_slowest] %></td>
|
31
|
+
<td class="nowrap"><%= ms e[:duration_average] %></td>
|
32
|
+
<td class="nowrap"><%= ms e[:view_runtime_average] %></td>
|
33
|
+
<td class="nowrap"><%= ms e[:db_runtime_average] %></td>
|
34
|
+
<td class="nowrap"><%= ms e[:duration_slowest] %></td>
|
35
|
+
<td class="nowrap"><%= ms e[:view_runtime_slowest] %></td>
|
36
|
+
<td class="nowrap"><%= ms e[:db_runtime_slowest] %></td>
|
37
37
|
</tr>
|
38
38
|
<% end %>
|
39
39
|
</tbody>
|