rack-mini-profiler 0.1.31 → 0.9.3
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 +4 -4
- data/CHANGELOG.md +149 -0
- data/README.md +285 -0
- data/{Ruby/lib → lib}/html/includes.css +15 -4
- data/{Ruby/lib → lib}/html/includes.js +95 -59
- data/{Ruby/lib → lib}/html/includes.less +21 -5
- data/{Ruby/lib → lib}/html/includes.tmpl +50 -50
- data/{Ruby/lib → lib}/html/jquery.1.7.1.js +0 -0
- data/{Ruby/lib → lib}/html/jquery.tmpl.js +0 -0
- data/{Ruby/lib → lib}/html/list.css +2 -2
- data/{Ruby/lib → lib}/html/list.js +1 -1
- data/lib/html/list.tmpl +34 -0
- data/lib/html/profile_handler.js +1 -0
- data/{Ruby/lib → lib}/html/share.html +2 -2
- data/lib/mini_profiler/asset_version.rb +5 -0
- data/{Ruby/lib → lib}/mini_profiler/client_settings.rb +3 -3
- data/lib/mini_profiler/config.rb +65 -0
- data/{Ruby/lib → lib}/mini_profiler/context.rb +0 -0
- data/lib/mini_profiler/gc_profiler.rb +181 -0
- data/{Ruby/lib → lib}/mini_profiler/profiler.rb +120 -96
- data/{Ruby/lib → lib}/mini_profiler/profiling_methods.rb +15 -17
- data/{Ruby/lib → lib}/mini_profiler/storage/abstract_store.rb +0 -0
- data/{Ruby/lib → lib}/mini_profiler/storage/file_store.rb +30 -8
- data/{Ruby/lib → lib}/mini_profiler/storage/memcache_store.rb +5 -7
- data/lib/mini_profiler/storage/memory_store.rb +115 -0
- data/{Ruby/lib → lib}/mini_profiler/storage/redis_store.rb +19 -11
- data/lib/mini_profiler/timer_struct/base.rb +33 -0
- data/lib/mini_profiler/timer_struct/client.rb +89 -0
- data/lib/mini_profiler/timer_struct/custom.rb +22 -0
- data/lib/mini_profiler/timer_struct/page.rb +62 -0
- data/lib/mini_profiler/timer_struct/request.rb +126 -0
- data/lib/mini_profiler/timer_struct/sql.rb +59 -0
- data/lib/mini_profiler/version.rb +5 -0
- data/{Ruby/lib → lib}/mini_profiler_rails/railtie.rb +23 -6
- data/lib/patches/db/activerecord.rb +42 -0
- data/lib/patches/db/moped.rb +12 -0
- data/lib/patches/db/mysql2.rb +30 -0
- data/lib/patches/db/pg.rb +104 -0
- data/lib/patches/db/plucky.rb +47 -0
- data/lib/patches/db/rsolr.rb +24 -0
- data/lib/patches/db/sequel.rb +10 -0
- data/{Ruby/lib → lib}/patches/net_patches.rb +0 -0
- data/lib/patches/sql_patches.rb +46 -0
- data/lib/rack-mini-profiler.rb +35 -0
- data/rack-mini-profiler.gemspec +28 -16
- metadata +171 -52
- data/Ruby/CHANGELOG +0 -161
- data/Ruby/README.md +0 -172
- data/Ruby/lib/html/list.tmpl +0 -34
- data/Ruby/lib/html/profile_handler.js +0 -1
- data/Ruby/lib/mini_profiler/client_timer_struct.rb +0 -78
- data/Ruby/lib/mini_profiler/config.rb +0 -58
- data/Ruby/lib/mini_profiler/custom_timer_struct.rb +0 -22
- data/Ruby/lib/mini_profiler/gc_profiler.rb +0 -107
- data/Ruby/lib/mini_profiler/gc_profiler_ruby_head.rb +0 -40
- data/Ruby/lib/mini_profiler/page_timer_struct.rb +0 -58
- data/Ruby/lib/mini_profiler/request_timer_struct.rb +0 -115
- data/Ruby/lib/mini_profiler/sql_timer_struct.rb +0 -58
- data/Ruby/lib/mini_profiler/storage/memory_store.rb +0 -65
- data/Ruby/lib/mini_profiler/timer_struct.rb +0 -33
- data/Ruby/lib/mini_profiler/version.rb +0 -5
- data/Ruby/lib/patches/sql_patches.rb +0 -277
- data/Ruby/lib/rack-mini-profiler.rb +0 -7
@@ -0,0 +1,47 @@
|
|
1
|
+
# mongo_mapper patches
|
2
|
+
# TODO: Include overrides for distinct, update, cursor, and create
|
3
|
+
class Plucky::Query
|
4
|
+
alias_method :find_each_without_profiling, :find_each
|
5
|
+
alias_method :find_one_without_profiling, :find_one
|
6
|
+
alias_method :count_without_profiling, :count
|
7
|
+
alias_method :remove_without_profiling, :remove
|
8
|
+
|
9
|
+
def find_each(*args, &blk)
|
10
|
+
return profile_database_operation(__callee__, filtered_inspect(), *args, &blk)
|
11
|
+
end
|
12
|
+
|
13
|
+
def find_one(*args, &blk)
|
14
|
+
return profile_database_operation(__callee__, filtered_inspect(args[0]), *args, &blk)
|
15
|
+
end
|
16
|
+
|
17
|
+
def count(*args, &blk)
|
18
|
+
return profile_database_operation(__callee__, filtered_inspect(), *args, &blk)
|
19
|
+
end
|
20
|
+
|
21
|
+
def remove(*args, &blk)
|
22
|
+
return profile_database_operation(__callee__, filtered_inspect(), *args, &blk)
|
23
|
+
end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
def profile_database_operation(method, message, *args, &blk)
|
28
|
+
return self.send("#{method.id2name}_without_profiling", *args, &blk) unless SqlPatches.should_measure?
|
29
|
+
|
30
|
+
start = Time.now
|
31
|
+
result = self.send("#{method.id2name}_without_profiling", *args, &blk)
|
32
|
+
elapsed_time = SqlPatches.elapsed_time(start)
|
33
|
+
|
34
|
+
query_message = "#{@collection.name}.#{method.id2name} => #{message}"
|
35
|
+
::Rack::MiniProfiler.record_sql(query_message, elapsed_time)
|
36
|
+
|
37
|
+
result
|
38
|
+
end
|
39
|
+
|
40
|
+
def filtered_inspect(hash = to_hash())
|
41
|
+
hash_string = hash.reject { |key| key == :transformer }.collect do |key, value|
|
42
|
+
" #{key}: #{value.inspect}"
|
43
|
+
end.join(",\n")
|
44
|
+
|
45
|
+
"{\n#{hash_string}\n}"
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
class RSolr::Connection
|
2
|
+
alias_method :execute_without_profiling, :execute
|
3
|
+
def execute_with_profiling(client, request_context)
|
4
|
+
return execute_without_profiling(client, request_context) unless SqlPatches.should_measure?
|
5
|
+
|
6
|
+
start = Time.now
|
7
|
+
result = execute_without_profiling(client, request_context)
|
8
|
+
elapsed_time = SqlPatches.elapsed_time(start)
|
9
|
+
|
10
|
+
data = "#{request_context[:method].upcase} #{request_context[:uri]}"
|
11
|
+
if request_context[:method] == :post and request_context[:data]
|
12
|
+
if request_context[:headers].include?("Content-Type") and request_context[:headers]["Content-Type"] == "text/xml"
|
13
|
+
# it's xml, unescaping isn't needed
|
14
|
+
data << "\n#{request_context[:data]}"
|
15
|
+
else
|
16
|
+
data << "\n#{Rack::Utils.unescape(request_context[:data])}"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
::Rack::MiniProfiler.record_sql(data, elapsed_time)
|
20
|
+
|
21
|
+
result
|
22
|
+
end
|
23
|
+
alias_method :execute, :execute_with_profiling
|
24
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
module Sequel
|
2
|
+
class Database
|
3
|
+
alias_method :log_duration_original, :log_duration
|
4
|
+
def log_duration(duration, message)
|
5
|
+
# `duration` will be in seconds, but we need it in milliseconds for internal consistency.
|
6
|
+
::Rack::MiniProfiler.record_sql(message, duration * 1000)
|
7
|
+
log_duration_original(duration, message)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
File without changes
|
@@ -0,0 +1,46 @@
|
|
1
|
+
class SqlPatches
|
2
|
+
|
3
|
+
def self.patched?
|
4
|
+
@patched
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.patched=(val)
|
8
|
+
@patched = val
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.class_exists?(name)
|
12
|
+
eval(name + ".class").to_s.eql?('Class')
|
13
|
+
rescue NameError
|
14
|
+
false
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.module_exists?(name)
|
18
|
+
eval(name + ".class").to_s.eql?('Module')
|
19
|
+
rescue NameError
|
20
|
+
false
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.record_sql(statement, &block)
|
24
|
+
start = Time.now
|
25
|
+
result = yield
|
26
|
+
record = ::Rack::MiniProfiler.record_sql( statement, elapsed_time(start) )
|
27
|
+
return result, record
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.should_measure?
|
31
|
+
current = ::Rack::MiniProfiler.current
|
32
|
+
(current && current.measure)
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.elapsed_time(start_time)
|
36
|
+
((Time.now - start_time).to_f * 1000).round(1)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
require 'patches/db/mysql2' if SqlPatches.class_exists? "Mysql2::Client"
|
41
|
+
require 'patches/db/pg' if SqlPatches.class_exists? "PG::Result"
|
42
|
+
require 'patches/db/moped' if SqlPatches.class_exists?("Moped::Node")
|
43
|
+
require 'patches/db/plucky' if SqlPatches.class_exists?("Plucky::Query")
|
44
|
+
require 'patches/db/rsolr' if SqlPatches.class_exists?("RSolr::Connection") && RSolr::VERSION[0] != "0"
|
45
|
+
require 'patches/db/sequel' if !SqlPatches.patched? && SqlPatches.class_exists?("Sequel::Database")
|
46
|
+
require 'patches/db/activerecord' if !SqlPatches.patched? && SqlPatches.module_exists?("ActiveRecord")
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'json'
|
2
|
+
require 'timeout'
|
3
|
+
require 'thread'
|
4
|
+
|
5
|
+
require 'mini_profiler/version'
|
6
|
+
require 'mini_profiler/asset_version'
|
7
|
+
|
8
|
+
require 'mini_profiler/timer_struct/base'
|
9
|
+
require 'mini_profiler/timer_struct/page'
|
10
|
+
require 'mini_profiler/timer_struct/sql'
|
11
|
+
require 'mini_profiler/timer_struct/custom'
|
12
|
+
require 'mini_profiler/timer_struct/client'
|
13
|
+
require 'mini_profiler/timer_struct/request'
|
14
|
+
|
15
|
+
require 'mini_profiler/storage/abstract_store'
|
16
|
+
require 'mini_profiler/storage/memcache_store'
|
17
|
+
require 'mini_profiler/storage/memory_store'
|
18
|
+
require 'mini_profiler/storage/redis_store'
|
19
|
+
require 'mini_profiler/storage/file_store'
|
20
|
+
|
21
|
+
require 'mini_profiler/config'
|
22
|
+
require 'mini_profiler/profiling_methods'
|
23
|
+
require 'mini_profiler/context'
|
24
|
+
require 'mini_profiler/client_settings'
|
25
|
+
require 'mini_profiler/gc_profiler'
|
26
|
+
require 'mini_profiler/profiler'
|
27
|
+
# TODO
|
28
|
+
# require 'mini_profiler/gc_profiler_ruby_head' if Gem::Version.new('2.1.0') <= Gem::Version.new(RUBY_VERSION)
|
29
|
+
|
30
|
+
require 'patches/sql_patches'
|
31
|
+
require 'patches/net_patches'
|
32
|
+
|
33
|
+
if defined?(::Rails) && ::Rails::VERSION::MAJOR.to_i >= 3
|
34
|
+
require 'mini_profiler_rails/railtie'
|
35
|
+
end
|
data/rack-mini-profiler.gemspec
CHANGED
@@ -1,20 +1,24 @@
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'mini_profiler/version'
|
4
|
+
|
1
5
|
Gem::Specification.new do |s|
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
s.name = "rack-mini-profiler"
|
7
|
+
s.version = Rack::MiniProfiler::VERSION
|
8
|
+
s.summary = "Profiles loading speed for rack applications."
|
9
|
+
s.authors = ["Sam Saffron","Robin Ward","Aleks Totic"]
|
10
|
+
s.description = "Profiling toolkit for Rack applications with Rails integration. Client Side profiling, DB profiling and Server profiling."
|
11
|
+
s.email = "sam.saffron@gmail.com"
|
12
|
+
s.homepage = "http://miniprofiler.com"
|
9
13
|
s.license = "MIT"
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
"
|
16
|
-
|
17
|
-
|
14
|
+
s.files = [
|
15
|
+
'rack-mini-profiler.gemspec',
|
16
|
+
].concat( Dir.glob('lib/**/*').reject {|f| File.directory?(f) || f =~ /~$/ } )
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"README.md",
|
19
|
+
"CHANGELOG.md"
|
20
|
+
]
|
21
|
+
s.add_runtime_dependency 'rack', '>= 1.1.3'
|
18
22
|
if RUBY_VERSION < "1.9"
|
19
23
|
s.add_runtime_dependency 'json', '>= 1.6'
|
20
24
|
end
|
@@ -22,6 +26,14 @@ Gem::Specification.new do |s|
|
|
22
26
|
s.add_development_dependency 'rake'
|
23
27
|
s.add_development_dependency 'rack-test'
|
24
28
|
s.add_development_dependency 'activerecord', '~> 3.0'
|
29
|
+
s.add_development_dependency 'dalli'
|
30
|
+
s.add_development_dependency 'rspec'
|
31
|
+
s.add_development_dependency 'ZenTest'
|
32
|
+
s.add_development_dependency 'autotest'
|
33
|
+
s.add_development_dependency 'redis'
|
34
|
+
s.add_development_dependency 'therubyracer'
|
35
|
+
s.add_development_dependency 'less'
|
36
|
+
s.add_development_dependency 'flamegraph'
|
25
37
|
|
26
|
-
s.require_paths = ["
|
38
|
+
s.require_paths = ["lib"]
|
27
39
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-mini-profiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
@@ -10,110 +10,229 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2015-02-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 1.1.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 1.1.3
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rake
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: '0'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rack-test
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: activerecord
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - ~>
|
61
|
+
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '3.0'
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - ~>
|
68
|
+
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '3.0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: dalli
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: rspec
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
type: :development
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: ZenTest
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: autotest
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ">="
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
type: :development
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: redis
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: therubyracer
|
143
|
+
requirement: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
type: :development
|
149
|
+
prerelease: false
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: less
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0'
|
162
|
+
type: :development
|
163
|
+
prerelease: false
|
164
|
+
version_requirements: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
- !ruby/object:Gem::Dependency
|
170
|
+
name: flamegraph
|
171
|
+
requirement: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - ">="
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
type: :development
|
177
|
+
prerelease: false
|
178
|
+
version_requirements: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
71
183
|
description: Profiling toolkit for Rack applications with Rails integration. Client
|
72
184
|
Side profiling, DB profiling and Server profiling.
|
73
185
|
email: sam.saffron@gmail.com
|
74
186
|
executables: []
|
75
187
|
extensions: []
|
76
188
|
extra_rdoc_files:
|
77
|
-
-
|
78
|
-
-
|
189
|
+
- README.md
|
190
|
+
- CHANGELOG.md
|
79
191
|
files:
|
192
|
+
- CHANGELOG.md
|
193
|
+
- README.md
|
194
|
+
- lib/html/includes.css
|
195
|
+
- lib/html/includes.js
|
196
|
+
- lib/html/includes.less
|
197
|
+
- lib/html/includes.tmpl
|
198
|
+
- lib/html/jquery.1.7.1.js
|
199
|
+
- lib/html/jquery.tmpl.js
|
200
|
+
- lib/html/list.css
|
201
|
+
- lib/html/list.js
|
202
|
+
- lib/html/list.tmpl
|
203
|
+
- lib/html/profile_handler.js
|
204
|
+
- lib/html/share.html
|
205
|
+
- lib/mini_profiler/asset_version.rb
|
206
|
+
- lib/mini_profiler/client_settings.rb
|
207
|
+
- lib/mini_profiler/config.rb
|
208
|
+
- lib/mini_profiler/context.rb
|
209
|
+
- lib/mini_profiler/gc_profiler.rb
|
210
|
+
- lib/mini_profiler/profiler.rb
|
211
|
+
- lib/mini_profiler/profiling_methods.rb
|
212
|
+
- lib/mini_profiler/storage/abstract_store.rb
|
213
|
+
- lib/mini_profiler/storage/file_store.rb
|
214
|
+
- lib/mini_profiler/storage/memcache_store.rb
|
215
|
+
- lib/mini_profiler/storage/memory_store.rb
|
216
|
+
- lib/mini_profiler/storage/redis_store.rb
|
217
|
+
- lib/mini_profiler/timer_struct/base.rb
|
218
|
+
- lib/mini_profiler/timer_struct/client.rb
|
219
|
+
- lib/mini_profiler/timer_struct/custom.rb
|
220
|
+
- lib/mini_profiler/timer_struct/page.rb
|
221
|
+
- lib/mini_profiler/timer_struct/request.rb
|
222
|
+
- lib/mini_profiler/timer_struct/sql.rb
|
223
|
+
- lib/mini_profiler/version.rb
|
224
|
+
- lib/mini_profiler_rails/railtie.rb
|
225
|
+
- lib/patches/db/activerecord.rb
|
226
|
+
- lib/patches/db/moped.rb
|
227
|
+
- lib/patches/db/mysql2.rb
|
228
|
+
- lib/patches/db/pg.rb
|
229
|
+
- lib/patches/db/plucky.rb
|
230
|
+
- lib/patches/db/rsolr.rb
|
231
|
+
- lib/patches/db/sequel.rb
|
232
|
+
- lib/patches/net_patches.rb
|
233
|
+
- lib/patches/sql_patches.rb
|
234
|
+
- lib/rack-mini-profiler.rb
|
80
235
|
- rack-mini-profiler.gemspec
|
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/includes.css
|
93
|
-
- Ruby/lib/mini_profiler/context.rb
|
94
|
-
- Ruby/lib/mini_profiler/page_timer_struct.rb
|
95
|
-
- Ruby/lib/mini_profiler/storage/file_store.rb
|
96
|
-
- Ruby/lib/mini_profiler/storage/memcache_store.rb
|
97
|
-
- Ruby/lib/mini_profiler/storage/memory_store.rb
|
98
|
-
- Ruby/lib/mini_profiler/storage/abstract_store.rb
|
99
|
-
- Ruby/lib/mini_profiler/storage/redis_store.rb
|
100
|
-
- Ruby/lib/mini_profiler/client_settings.rb
|
101
|
-
- Ruby/lib/mini_profiler/profiling_methods.rb
|
102
|
-
- Ruby/lib/mini_profiler/gc_profiler.rb
|
103
|
-
- Ruby/lib/mini_profiler/client_timer_struct.rb
|
104
|
-
- Ruby/lib/mini_profiler/sql_timer_struct.rb
|
105
|
-
- Ruby/lib/mini_profiler/gc_profiler_ruby_head.rb
|
106
|
-
- Ruby/lib/mini_profiler/config.rb
|
107
|
-
- Ruby/lib/mini_profiler/custom_timer_struct.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/patches/net_patches.rb
|
113
|
-
- Ruby/lib/patches/sql_patches.rb
|
114
|
-
- Ruby/lib/rack-mini-profiler.rb
|
115
|
-
- Ruby/README.md
|
116
|
-
- Ruby/CHANGELOG
|
117
236
|
homepage: http://miniprofiler.com
|
118
237
|
licenses:
|
119
238
|
- MIT
|
@@ -121,20 +240,20 @@ metadata: {}
|
|
121
240
|
post_install_message:
|
122
241
|
rdoc_options: []
|
123
242
|
require_paths:
|
124
|
-
-
|
243
|
+
- lib
|
125
244
|
required_ruby_version: !ruby/object:Gem::Requirement
|
126
245
|
requirements:
|
127
|
-
- -
|
246
|
+
- - ">="
|
128
247
|
- !ruby/object:Gem::Version
|
129
248
|
version: '0'
|
130
249
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
250
|
requirements:
|
132
|
-
- -
|
251
|
+
- - ">="
|
133
252
|
- !ruby/object:Gem::Version
|
134
253
|
version: '0'
|
135
254
|
requirements: []
|
136
255
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
256
|
+
rubygems_version: 2.2.2
|
138
257
|
signing_key:
|
139
258
|
specification_version: 4
|
140
259
|
summary: Profiles loading speed for rack applications.
|