rack-mini-profiler 0.1.23 → 0.1.28
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rack-mini-profiler might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/Ruby/CHANGELOG +75 -35
- data/Ruby/README.md +30 -1
- data/Ruby/lib/html/flamegraph.html +351 -0
- data/Ruby/lib/html/includes.css +451 -75
- data/Ruby/lib/html/includes.js +140 -78
- data/Ruby/lib/html/includes.less +38 -35
- data/Ruby/lib/html/includes.tmpl +4 -3
- data/Ruby/lib/html/profile_handler.js +1 -1
- data/Ruby/lib/mini_profiler/config.rb +13 -9
- data/Ruby/lib/mini_profiler/context.rb +11 -10
- data/Ruby/lib/mini_profiler/flame_graph.rb +54 -0
- data/Ruby/lib/mini_profiler/gc_profiler.rb +8 -4
- data/Ruby/lib/mini_profiler/profiler.rb +179 -172
- data/Ruby/lib/mini_profiler/profiling_methods.rb +131 -108
- data/Ruby/lib/mini_profiler/sql_timer_struct.rb +1 -1
- data/Ruby/lib/mini_profiler/storage/abstract_store.rb +32 -27
- data/Ruby/lib/mini_profiler/storage/file_store.rb +111 -109
- data/Ruby/lib/mini_profiler/storage/memcache_store.rb +11 -9
- data/Ruby/lib/mini_profiler/storage/memory_store.rb +65 -63
- data/Ruby/lib/mini_profiler/storage/redis_store.rb +16 -6
- data/Ruby/lib/mini_profiler/version.rb +2 -2
- data/Ruby/lib/mini_profiler_rails/railtie.rb +44 -40
- data/Ruby/lib/patches/sql_patches.rb +75 -48
- data/rack-mini-profiler.gemspec +2 -1
- metadata +43 -56
data/rack-mini-profiler.gemspec
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "rack-mini-profiler"
|
3
|
-
s.version = "0.1.
|
3
|
+
s.version = "0.1.28"
|
4
4
|
s.summary = "Profiles loading speed for rack applications."
|
5
5
|
s.authors = ["Sam Saffron", "Robin Ward","Aleks Totic"]
|
6
6
|
s.description = "Profiling toolkit for Rack applications with Rails integration. Client Side profiling, DB profiling and Server profiling."
|
7
7
|
s.email = "sam.saffron@gmail.com"
|
8
8
|
s.homepage = "http://miniprofiler.com"
|
9
|
+
s.license = "MIT"
|
9
10
|
s.files = [
|
10
11
|
'rack-mini-profiler.gemspec',
|
11
12
|
].concat( Dir.glob('Ruby/lib/**/*').reject {|f| File.directory?(f) || f =~ /~$/ } )
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-mini-profiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.28
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Sam Saffron
|
@@ -11,60 +10,53 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date:
|
13
|
+
date: 2013-07-30 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rack
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
18
|
requirements:
|
21
|
-
- -
|
19
|
+
- - '>='
|
22
20
|
- !ruby/object:Gem::Version
|
23
21
|
version: 1.1.3
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
25
|
requirements:
|
29
|
-
- -
|
26
|
+
- - '>='
|
30
27
|
- !ruby/object:Gem::Version
|
31
28
|
version: 1.1.3
|
32
29
|
- !ruby/object:Gem::Dependency
|
33
30
|
name: rake
|
34
31
|
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
32
|
requirements:
|
37
|
-
- -
|
33
|
+
- - '>='
|
38
34
|
- !ruby/object:Gem::Version
|
39
35
|
version: '0'
|
40
36
|
type: :development
|
41
37
|
prerelease: false
|
42
38
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
39
|
requirements:
|
45
|
-
- -
|
40
|
+
- - '>='
|
46
41
|
- !ruby/object:Gem::Version
|
47
42
|
version: '0'
|
48
43
|
- !ruby/object:Gem::Dependency
|
49
44
|
name: rack-test
|
50
45
|
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
46
|
requirements:
|
53
|
-
- -
|
47
|
+
- - '>='
|
54
48
|
- !ruby/object:Gem::Version
|
55
49
|
version: '0'
|
56
50
|
type: :development
|
57
51
|
prerelease: false
|
58
52
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
53
|
requirements:
|
61
|
-
- -
|
54
|
+
- - '>='
|
62
55
|
- !ruby/object:Gem::Version
|
63
56
|
version: '0'
|
64
57
|
- !ruby/object:Gem::Dependency
|
65
58
|
name: activerecord
|
66
59
|
requirement: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
60
|
requirements:
|
69
61
|
- - ~>
|
70
62
|
- !ruby/object:Gem::Version
|
@@ -72,7 +64,6 @@ dependencies:
|
|
72
64
|
type: :development
|
73
65
|
prerelease: false
|
74
66
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
67
|
requirements:
|
77
68
|
- - ~>
|
78
69
|
- !ruby/object:Gem::Version
|
@@ -87,69 +78,65 @@ extra_rdoc_files:
|
|
87
78
|
- Ruby/CHANGELOG
|
88
79
|
files:
|
89
80
|
- rack-mini-profiler.gemspec
|
90
|
-
- Ruby/lib/
|
91
|
-
- Ruby/lib/
|
92
|
-
- Ruby/lib/
|
93
|
-
- Ruby/lib/
|
81
|
+
- Ruby/lib/mini_profiler_rails/railtie.rb
|
82
|
+
- Ruby/lib/html/list.css
|
83
|
+
- Ruby/lib/html/jquery.tmpl.js
|
84
|
+
- Ruby/lib/html/list.tmpl
|
85
|
+
- Ruby/lib/html/share.html
|
86
|
+
- Ruby/lib/html/includes.less
|
87
|
+
- Ruby/lib/html/profile_handler.js
|
88
|
+
- Ruby/lib/html/includes.tmpl
|
89
|
+
- Ruby/lib/html/includes.js
|
90
|
+
- Ruby/lib/html/list.js
|
91
|
+
- Ruby/lib/html/jquery.1.7.1.js
|
92
|
+
- Ruby/lib/html/flamegraph.html
|
93
|
+
- Ruby/lib/html/includes.css
|
94
|
+
- Ruby/lib/mini_profiler/context.rb
|
94
95
|
- Ruby/lib/mini_profiler/page_timer_struct.rb
|
96
|
+
- Ruby/lib/mini_profiler/storage/file_store.rb
|
97
|
+
- Ruby/lib/mini_profiler/storage/memcache_store.rb
|
98
|
+
- Ruby/lib/mini_profiler/storage/memory_store.rb
|
99
|
+
- Ruby/lib/mini_profiler/storage/abstract_store.rb
|
100
|
+
- Ruby/lib/mini_profiler/storage/redis_store.rb
|
95
101
|
- Ruby/lib/mini_profiler/client_settings.rb
|
96
|
-
- Ruby/lib/mini_profiler/context.rb
|
97
|
-
- Ruby/lib/mini_profiler/config.rb
|
98
102
|
- Ruby/lib/mini_profiler/profiling_methods.rb
|
99
103
|
- Ruby/lib/mini_profiler/gc_profiler.rb
|
100
104
|
- Ruby/lib/mini_profiler/client_timer_struct.rb
|
101
|
-
- Ruby/lib/mini_profiler/
|
102
|
-
- Ruby/lib/mini_profiler/
|
103
|
-
- Ruby/lib/mini_profiler/storage/file_store.rb
|
104
|
-
- Ruby/lib/mini_profiler/storage/redis_store.rb
|
105
|
-
- Ruby/lib/mini_profiler/storage/abstract_store.rb
|
106
|
-
- Ruby/lib/mini_profiler/storage/memcache_store.rb
|
105
|
+
- Ruby/lib/mini_profiler/sql_timer_struct.rb
|
106
|
+
- Ruby/lib/mini_profiler/config.rb
|
107
107
|
- Ruby/lib/mini_profiler/custom_timer_struct.rb
|
108
|
-
- Ruby/lib/
|
109
|
-
- Ruby/lib/
|
110
|
-
- Ruby/lib/
|
111
|
-
- Ruby/lib/
|
112
|
-
- Ruby/lib/
|
113
|
-
- Ruby/lib/html/list.css
|
114
|
-
- Ruby/lib/html/includes.js
|
115
|
-
- Ruby/lib/html/jquery.tmpl.js
|
116
|
-
- Ruby/lib/html/list.tmpl
|
117
|
-
- Ruby/lib/html/profile_handler.js
|
118
|
-
- Ruby/lib/html/includes.css
|
119
|
-
- Ruby/lib/html/list.js
|
120
|
-
- Ruby/lib/mini_profiler_rails/railtie.rb
|
121
|
-
- Ruby/lib/patches/sql_patches.rb
|
108
|
+
- Ruby/lib/mini_profiler/version.rb
|
109
|
+
- Ruby/lib/mini_profiler/timer_struct.rb
|
110
|
+
- Ruby/lib/mini_profiler/profiler.rb
|
111
|
+
- Ruby/lib/mini_profiler/request_timer_struct.rb
|
112
|
+
- Ruby/lib/mini_profiler/flame_graph.rb
|
122
113
|
- Ruby/lib/patches/net_patches.rb
|
114
|
+
- Ruby/lib/patches/sql_patches.rb
|
115
|
+
- Ruby/lib/rack-mini-profiler.rb
|
123
116
|
- Ruby/README.md
|
124
117
|
- Ruby/CHANGELOG
|
125
118
|
homepage: http://miniprofiler.com
|
126
|
-
licenses:
|
119
|
+
licenses:
|
120
|
+
- MIT
|
121
|
+
metadata: {}
|
127
122
|
post_install_message:
|
128
123
|
rdoc_options: []
|
129
124
|
require_paths:
|
130
125
|
- Ruby/lib
|
131
126
|
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
127
|
requirements:
|
134
|
-
- -
|
128
|
+
- - '>='
|
135
129
|
- !ruby/object:Gem::Version
|
136
130
|
version: '0'
|
137
|
-
segments:
|
138
|
-
- 0
|
139
|
-
hash: -387077425
|
140
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
|
-
none: false
|
142
132
|
requirements:
|
143
|
-
- -
|
133
|
+
- - '>='
|
144
134
|
- !ruby/object:Gem::Version
|
145
135
|
version: '0'
|
146
|
-
segments:
|
147
|
-
- 0
|
148
|
-
hash: -387077425
|
149
136
|
requirements: []
|
150
137
|
rubyforge_project:
|
151
|
-
rubygems_version:
|
138
|
+
rubygems_version: 2.0.3
|
152
139
|
signing_key:
|
153
|
-
specification_version:
|
140
|
+
specification_version: 4
|
154
141
|
summary: Profiles loading speed for rack applications.
|
155
142
|
test_files: []
|