stackprof 0.2.12 → 0.2.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +43 -0
- data/.gitignore +1 -1
- data/CHANGELOG.md +17 -2
- data/README.md +66 -51
- data/Rakefile +21 -25
- data/bin/stackprof +115 -71
- data/ext/stackprof/extconf.rb +6 -0
- data/ext/stackprof/stackprof.c +392 -84
- data/lib/stackprof/autorun.rb +19 -0
- data/lib/stackprof/middleware.rb +8 -2
- data/lib/stackprof/report.rb +280 -16
- data/lib/stackprof/truffleruby.rb +37 -0
- data/lib/stackprof.rb +22 -1
- data/stackprof.gemspec +11 -3
- data/test/fixtures/profile.dump +1 -0
- data/test/fixtures/profile.json +1 -0
- data/test/test_middleware.rb +36 -17
- data/test/test_report.rb +25 -1
- data/test/test_stackprof.rb +153 -15
- data/test/test_truffleruby.rb +18 -0
- data/vendor/FlameGraph/flamegraph.pl +751 -85
- metadata +16 -23
- data/.travis.yml +0 -8
- data/Gemfile.lock +0 -27
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackprof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aman Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.9'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: mocha
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.14'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.14'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: minitest
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -63,11 +49,10 @@ extensions:
|
|
63
49
|
- ext/stackprof/extconf.rb
|
64
50
|
extra_rdoc_files: []
|
65
51
|
files:
|
52
|
+
- ".github/workflows/ci.yml"
|
66
53
|
- ".gitignore"
|
67
|
-
- ".travis.yml"
|
68
54
|
- CHANGELOG.md
|
69
55
|
- Gemfile
|
70
|
-
- Gemfile.lock
|
71
56
|
- LICENSE
|
72
57
|
- README.md
|
73
58
|
- Rakefile
|
@@ -77,15 +62,20 @@ files:
|
|
77
62
|
- ext/stackprof/extconf.rb
|
78
63
|
- ext/stackprof/stackprof.c
|
79
64
|
- lib/stackprof.rb
|
65
|
+
- lib/stackprof/autorun.rb
|
80
66
|
- lib/stackprof/flamegraph/flamegraph.js
|
81
67
|
- lib/stackprof/flamegraph/viewer.html
|
82
68
|
- lib/stackprof/middleware.rb
|
83
69
|
- lib/stackprof/report.rb
|
70
|
+
- lib/stackprof/truffleruby.rb
|
84
71
|
- sample.rb
|
85
72
|
- stackprof.gemspec
|
73
|
+
- test/fixtures/profile.dump
|
74
|
+
- test/fixtures/profile.json
|
86
75
|
- test/test_middleware.rb
|
87
76
|
- test/test_report.rb
|
88
77
|
- test/test_stackprof.rb
|
78
|
+
- test/test_truffleruby.rb
|
89
79
|
- vendor/FlameGraph/README
|
90
80
|
- vendor/FlameGraph/flamegraph.pl
|
91
81
|
- vendor/gprof2dot/gprof2dot.py
|
@@ -93,7 +83,11 @@ files:
|
|
93
83
|
homepage: http://github.com/tmm1/stackprof
|
94
84
|
licenses:
|
95
85
|
- MIT
|
96
|
-
metadata:
|
86
|
+
metadata:
|
87
|
+
bug_tracker_uri: https://github.com/tmm1/stackprof/issues
|
88
|
+
changelog_uri: https://github.com/tmm1/stackprof/blob/v0.2.26/CHANGELOG.md
|
89
|
+
documentation_uri: https://www.rubydoc.info/gems/stackprof/0.2.26
|
90
|
+
source_code_uri: https://github.com/tmm1/stackprof/tree/v0.2.26
|
97
91
|
post_install_message:
|
98
92
|
rdoc_options: []
|
99
93
|
require_paths:
|
@@ -102,16 +96,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
102
96
|
requirements:
|
103
97
|
- - ">="
|
104
98
|
- !ruby/object:Gem::Version
|
105
|
-
version: '
|
99
|
+
version: '2.2'
|
106
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
101
|
requirements:
|
108
102
|
- - ">="
|
109
103
|
- !ruby/object:Gem::Version
|
110
104
|
version: '0'
|
111
105
|
requirements: []
|
112
|
-
|
113
|
-
rubygems_version: 2.4.6
|
106
|
+
rubygems_version: 3.0.3.1
|
114
107
|
signing_key:
|
115
108
|
specification_version: 4
|
116
|
-
summary: sampling callstack-profiler for ruby 2.
|
109
|
+
summary: sampling callstack-profiler for ruby 2.2+
|
117
110
|
test_files: []
|
data/.travis.yml
DELETED
data/Gemfile.lock
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
stackprof (0.2.11)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
metaclass (0.0.4)
|
10
|
-
minitest (5.4.1)
|
11
|
-
mocha (0.14.0)
|
12
|
-
metaclass (~> 0.0.1)
|
13
|
-
rake (10.3.2)
|
14
|
-
rake-compiler (0.9.3)
|
15
|
-
rake
|
16
|
-
|
17
|
-
PLATFORMS
|
18
|
-
ruby
|
19
|
-
|
20
|
-
DEPENDENCIES
|
21
|
-
minitest (~> 5.0)
|
22
|
-
mocha (~> 0.14)
|
23
|
-
rake-compiler (~> 0.9)
|
24
|
-
stackprof!
|
25
|
-
|
26
|
-
BUNDLED WITH
|
27
|
-
1.15.4
|