app_profiler 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/app_profiler/request_parameters.rb +2 -2
- data/lib/app_profiler/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cacd68e85ebfc9eb41bff2353511b84439e284949577989885ce79b3153b8bf2
|
4
|
+
data.tar.gz: 32e324f294afd7a68d9edf7dcd6bb996dd34c2cff49bdcfdeb651d210cc3877a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f8c67c8ede68a80ddaf78dca6c81f32702e750d8e42ea973f4d11d171287cea691a60da4360654597c42ff3afe642e24f5a9ffd608de46eb71d6c2e1d062966
|
7
|
+
data.tar.gz: cb2ba40dd3d2e7f25ffcf956a5a52750eb35f0392a5d7b055645a3cd9ea6354f645d61fbf857922f495d8be729280138f80b758a4fac36ae58ed33ef17ceffe4
|
@@ -4,8 +4,8 @@ require "rack"
|
|
4
4
|
|
5
5
|
module AppProfiler
|
6
6
|
class RequestParameters
|
7
|
-
DEFAULT_INTERVALS = { "cpu" => 1000, "wall" => 1000, "object" =>
|
8
|
-
MIN_INTERVALS = { "cpu" => 200, "wall" => 200, "object" =>
|
7
|
+
DEFAULT_INTERVALS = { "cpu" => 1000, "wall" => 1000, "object" => 2000 }.freeze
|
8
|
+
MIN_INTERVALS = { "cpu" => 200, "wall" => 200, "object" => 400 }.freeze
|
9
9
|
MODES = DEFAULT_INTERVALS.keys.freeze
|
10
10
|
|
11
11
|
def initialize(request)
|
data/lib/app_profiler/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app_profiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gannon McGibbon
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2020-
|
16
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: activesupport
|
@@ -165,7 +165,8 @@ files:
|
|
165
165
|
- lib/app_profiler/viewer/speedscope_viewer.rb
|
166
166
|
homepage: https://github.com/Shopify/app_profiler
|
167
167
|
licenses: []
|
168
|
-
metadata:
|
168
|
+
metadata:
|
169
|
+
allowed_push_host: https://rubygems.org
|
169
170
|
post_install_message:
|
170
171
|
rdoc_options: []
|
171
172
|
require_paths:
|