padrino-performance 0.15.3 → 0.16.0.pre3
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
- data/lib/padrino-performance/version.rb +1 -1
- 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: 9c133707da829ec1a263573b0c404fc91a77e420a7f23cbcd67d760d1a12f019
|
4
|
+
data.tar.gz: 334b6b8776a38299804a2b2dd26bd590155cbe6923d92e47679b241b1daa0559
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cad466a9b64dae0baab309ac38185bcf4f948ec12c2efa98a65911b2557fa2ce7e0ce30f20b2647f31535c5c865821e9b40740d5de20eca3852dacbe92370e6a
|
7
|
+
data.tar.gz: '08ce6bf66dae1db5ae614c31db845413612e7217193c05069ce544a5790c1698d434536c74885e59f94334d881f0cbdea3a1daf4ddee6fa443ff080a427b1a48'
|
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.pre3
|
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-09 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.4.19
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: A gem for finding performance problems in Padrino
|