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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14dc67737983994a545e9529b77703d35183047abefc21be651a08eb17d11e9d
4
- data.tar.gz: 8cd64b0da5c3626d8d306669ce399ea8f1c00902fa5a0617dba46db57dd1204b
3
+ metadata.gz: 9c133707da829ec1a263573b0c404fc91a77e420a7f23cbcd67d760d1a12f019
4
+ data.tar.gz: 334b6b8776a38299804a2b2dd26bd590155cbe6923d92e47679b241b1daa0559
5
5
  SHA512:
6
- metadata.gz: 89b5590fe5fcd33914b5aef783eac2ddb175a807fcefeac791114519ea1159ed23859660efe9162bd73d4757a0e5c2152fd14e296c595a1e828358b46b4b17bc
7
- data.tar.gz: f64788f3dbf821ead34bfbbf1335dc311cc30a3193147d6b423785ef2091a36e2c126c8a04e422314fefdf7379ebdebc84d40f3fa3b5cb230a50accc315aedc0
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
- - You can it by passing the `-j` or `--json` option.
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
- - You can it by passing the `-j` or `--json` option.
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
- E.g.:
27
+ Examples:
28
28
 
29
- - Measure json on a console:
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
+ ```
@@ -1,7 +1,7 @@
1
1
  module Padrino
2
2
  module Performance
3
3
  # The version constant for the current version of Padrino.
4
- VERSION = '0.15.0' unless defined?(Padrino::VERSION)
4
+ VERSION = '0.16.0.pre3' unless defined?(Padrino::VERSION)
5
5
 
6
6
  #
7
7
  # The current Padrino version.
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.15.3
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: 2023-02-25 00:00:00.000000000 Z
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.6
60
+ version: 1.3.1
61
61
  requirements: []
62
- rubygems_version: 3.0.8
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