padrino-performance 0.15.3 → 0.16.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -13
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2561959c3f27205aee2cb4a93fba353d96710d3248f57eafb8f65c802691f0cb
|
4
|
+
data.tar.gz: 1436850b24a3fd44445370f4254d1ce66fff1801e7672e6b05764ce2830345cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f55f8a2d9758cfa8700705d9dc2cd6f66fd6c0bce2e373c761bf054e80cb3e41bce5a41a5ee989e02a01bdcb25f2594ca9450734c9e44f15d307de6d6cea878
|
7
|
+
data.tar.gz: '090b651cbd3177859c033c66aa068f9d8ee5de942e92d2a78ad65f7f6fc7bddc570efaa3120471d25511081da731db12170bd08201b87060c963695a3a18fa33'
|
data/README.md
CHANGED
@@ -15,36 +15,33 @@ Install the gem with
|
|
15
15
|
## Available suites
|
16
16
|
|
17
17
|
- JSON: Tell you if you have conflicting libraries being declared in your `Gemfile`. Why? Because they would nearly do the same job and this will help you to detect it.
|
18
|
-
-
|
18
|
+
- Use it by passing the `-j` or `--json` option.
|
19
19
|
- Memory: Print the memory usage of your application when it is started.
|
20
|
-
-
|
20
|
+
- Use it by passing the `-m` or `--mem` option.
|
21
21
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
25
|
`bundle exec padrino-performance SUITE -- bundle exec padrino COMMAND`
|
26
26
|
|
27
|
-
|
27
|
+
Examples:
|
28
28
|
|
29
|
-
-
|
30
|
-
|
31
|
-
bundle exec padrino-performance -j -- bundle exec padrino console
|
29
|
+
- Check for conflicting json libraries on a console:
|
30
|
+
```
|
31
|
+
$ bundle exec padrino-performance -j -- bundle exec padrino console
|
32
32
|
>> require 'json'
|
33
33
|
>> require 'json_pure'
|
34
|
-
|
34
|
+
```
|
35
35
|
Then you will get some error reports in the terminal, which indicates that you have
|
36
36
|
conflicting json libraries that do the same
|
37
37
|
|
38
|
-
|
39
38
|
- Measure memory on a running app:
|
40
|
-
|
41
|
-
bundle exec padrino-performance -m -- bundle exec padrino start
|
42
|
-
# The output will be the following
|
43
|
-
|
39
|
+
```
|
40
|
+
$ bundle exec padrino-performance -m -- bundle exec padrino start
|
44
41
|
total 44056K
|
45
42
|
total 44980K
|
46
43
|
=> Padrino/0.11.2 has taken the stage development at http://127.0.0.1:3000
|
47
44
|
>> Thin web server (v1.5.1 codename Straight Razor)
|
48
45
|
>> Maximum connections set to 1024
|
49
46
|
>> Listening on 127.0.0.1:3000, CTRL+C to stop
|
50
|
-
|
47
|
+
```
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: padrino-performance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0.pre2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Padrino Team
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date:
|
17
|
+
date: 2024-08-06 00:00:00.000000000 Z
|
18
18
|
dependencies: []
|
19
19
|
description: A gem for finding performance problems in Padrino by tracking loads and
|
20
20
|
memory consumption.
|
@@ -55,11 +55,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
55
55
|
version: '0'
|
56
56
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- - "
|
58
|
+
- - ">"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.3.
|
60
|
+
version: 1.3.1
|
61
61
|
requirements: []
|
62
|
-
rubygems_version: 3.
|
62
|
+
rubygems_version: 3.2.3
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: A gem for finding performance problems in Padrino
|