stackprof 0.2.10 → 0.2.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +43 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +18 -0
- data/README.md +87 -67
- data/Rakefile +21 -25
- data/bin/stackprof +115 -70
- data/ext/stackprof/extconf.rb +6 -0
- data/ext/stackprof/stackprof.c +434 -37
- data/lib/stackprof/autorun.rb +19 -0
- data/lib/stackprof/flamegraph/flamegraph.js +926 -300
- data/lib/stackprof/flamegraph/viewer.html +29 -23
- data/lib/stackprof/middleware.rb +23 -7
- data/lib/stackprof/report.rb +323 -18
- data/lib/stackprof/truffleruby.rb +37 -0
- data/lib/stackprof.rb +18 -1
- data/sample.rb +3 -3
- data/stackprof.gemspec +11 -2
- data/test/fixtures/profile.dump +1 -0
- data/test/fixtures/profile.json +1 -0
- data/test/test_middleware.rb +13 -7
- data/test/test_report.rb +24 -0
- data/test/test_stackprof.rb +177 -25
- data/test/test_truffleruby.rb +18 -0
- data/vendor/FlameGraph/flamegraph.pl +751 -85
- metadata +17 -10
- data/.travis.yml +0 -8
- data/Gemfile.lock +0 -24
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.25
|
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: 2023-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -63,10 +63,10 @@ extensions:
|
|
63
63
|
- ext/stackprof/extconf.rb
|
64
64
|
extra_rdoc_files: []
|
65
65
|
files:
|
66
|
+
- ".github/workflows/ci.yml"
|
66
67
|
- ".gitignore"
|
67
|
-
-
|
68
|
+
- CHANGELOG.md
|
68
69
|
- Gemfile
|
69
|
-
- Gemfile.lock
|
70
70
|
- LICENSE
|
71
71
|
- README.md
|
72
72
|
- Rakefile
|
@@ -76,15 +76,20 @@ files:
|
|
76
76
|
- ext/stackprof/extconf.rb
|
77
77
|
- ext/stackprof/stackprof.c
|
78
78
|
- lib/stackprof.rb
|
79
|
+
- lib/stackprof/autorun.rb
|
79
80
|
- lib/stackprof/flamegraph/flamegraph.js
|
80
81
|
- lib/stackprof/flamegraph/viewer.html
|
81
82
|
- lib/stackprof/middleware.rb
|
82
83
|
- lib/stackprof/report.rb
|
84
|
+
- lib/stackprof/truffleruby.rb
|
83
85
|
- sample.rb
|
84
86
|
- stackprof.gemspec
|
87
|
+
- test/fixtures/profile.dump
|
88
|
+
- test/fixtures/profile.json
|
85
89
|
- test/test_middleware.rb
|
86
90
|
- test/test_report.rb
|
87
91
|
- test/test_stackprof.rb
|
92
|
+
- test/test_truffleruby.rb
|
88
93
|
- vendor/FlameGraph/README
|
89
94
|
- vendor/FlameGraph/flamegraph.pl
|
90
95
|
- vendor/gprof2dot/gprof2dot.py
|
@@ -92,7 +97,11 @@ files:
|
|
92
97
|
homepage: http://github.com/tmm1/stackprof
|
93
98
|
licenses:
|
94
99
|
- MIT
|
95
|
-
metadata:
|
100
|
+
metadata:
|
101
|
+
bug_tracker_uri: https://github.com/tmm1/stackprof/issues
|
102
|
+
changelog_uri: https://github.com/tmm1/stackprof/blob/v0.2.25/CHANGELOG.md
|
103
|
+
documentation_uri: https://www.rubydoc.info/gems/stackprof/0.2.25
|
104
|
+
source_code_uri: https://github.com/tmm1/stackprof/tree/v0.2.25
|
96
105
|
post_install_message:
|
97
106
|
rdoc_options: []
|
98
107
|
require_paths:
|
@@ -101,17 +110,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
110
|
requirements:
|
102
111
|
- - ">="
|
103
112
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
113
|
+
version: '2.2'
|
105
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
115
|
requirements:
|
107
116
|
- - ">="
|
108
117
|
- !ruby/object:Gem::Version
|
109
118
|
version: '0'
|
110
119
|
requirements: []
|
111
|
-
|
112
|
-
rubygems_version: 2.4.5.1
|
120
|
+
rubygems_version: 3.0.3.1
|
113
121
|
signing_key:
|
114
122
|
specification_version: 4
|
115
|
-
summary: sampling callstack-profiler for ruby 2.
|
123
|
+
summary: sampling callstack-profiler for ruby 2.2+
|
116
124
|
test_files: []
|
117
|
-
has_rdoc:
|
data/.travis.yml
DELETED
data/Gemfile.lock
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
stackprof (0.2.9)
|
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!
|