runtime_profiler 0.3.4 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/lib/runtime_profiler.rb +4 -0
- data/lib/runtime_profiler/profiler.rb +1 -1
- data/lib/runtime_profiler/version.rb +1 -1
- data/rp_view_only_methods_full_details.png +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5aa2b360eef9161de1191784bfa70dfada83843bbb1f89988c328ac09983067
|
4
|
+
data.tar.gz: b68c2dc4b44c763c46a2cf15e5bb622d07d3fef6414708358617b98f344d4b93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d04b5aad1bac8c08cf6279e2b801e9f24cf13f8e0ef7062b4f31a70ad5e4347410f1754d0fe1a32f283bb476d74b2e258449d8ca76a6fcf34479c5fdc78dcc8e
|
7
|
+
data.tar.gz: e6887564468ed31891f0a3c418fa316f831686342c6caf3c1f579fac2dd7494d331df2dd136441381c944838b56025ccbe9d3fcab90f4abf2072a78f46d290c9
|
data/README.md
CHANGED
@@ -15,6 +15,7 @@ Check which part of your Rails application is causing slow response time. **runt
|
|
15
15
|
- [Examples](#examples)
|
16
16
|
- [Viewing Profiling Result](#viewing-profiling-result)
|
17
17
|
- [view Options](#view-options)
|
18
|
+
- [Screenshot](#screenshot)
|
18
19
|
- [Configurations](#configurations)
|
19
20
|
- [Development](#development)
|
20
21
|
- [Contributing](#contributing)
|
@@ -137,6 +138,12 @@ $ bundle exec runtime_profiler view --help
|
|
137
138
|
ROUNDING is integer value. Used in rounding runtimes. Default is 4.
|
138
139
|
```
|
139
140
|
|
141
|
+
### Screenshot
|
142
|
+
|
143
|
+
<p align="center">
|
144
|
+
<img src="rp_view_only_methods_full_details.png">
|
145
|
+
</p>
|
146
|
+
|
140
147
|
### Configurations
|
141
148
|
|
142
149
|
All the configurable variables and their defaults are listed below. There is no one correct place where to put these configurations. It can be inside `config/initializers` folder of your Rails application. Or if you are using test to profile, it can be in the last part of `spec/spec_helper.rb`.
|
data/lib/runtime_profiler.rb
CHANGED
@@ -39,7 +39,7 @@ module RuntimeProfiler
|
|
39
39
|
|
40
40
|
def prepare_methods_to_instrument
|
41
41
|
instrumented_constants.flatten
|
42
|
-
.each { |constant| MethodMeter.observe(constant) }
|
42
|
+
.each { |constant| MethodMeter.observe(constant, RuntimeProfiler.excepted_methods) }
|
43
43
|
end
|
44
44
|
|
45
45
|
def save_instrumentation_data
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runtime_profiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wilfrido T. Nuqui Jr.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -205,6 +205,7 @@ files:
|
|
205
205
|
- lib/runtime_profiler/profiler.rb
|
206
206
|
- lib/runtime_profiler/text_report.rb
|
207
207
|
- lib/runtime_profiler/version.rb
|
208
|
+
- rp_view_only_methods_full_details.png
|
208
209
|
- runtime_profiler.gemspec
|
209
210
|
homepage: http://www.github.com/wnuqui/runtime_profiler
|
210
211
|
licenses:
|