dike 0.0.1 → 0.0.2

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.
Files changed (3) hide show
  1. data/README +26 -23
  2. metadata +1 -2
  3. data/dike-0.0.1.gem +0 -0
data/README CHANGED
@@ -4,7 +4,7 @@ NAME
4
4
 
5
5
  SYNOPSIS
6
6
 
7
- a simple memory leak detector for ruby with preconfigured rails' hooks.
7
+ a simple memory leak detector for ruby with preconfigured rails hooks.
8
8
 
9
9
  INSTALL
10
10
 
@@ -17,12 +17,12 @@ URIS
17
17
 
18
18
  DESCRIPTION
19
19
 
20
- the concept behind is simple: Object is extended in order that the location
21
- of each objects' creation is tracked. a summarizer command is given to walk
22
- ObjectSpace using each objects class and the location if it's creation to
23
- detect memory leaks. not all leaks can be detected and some that are may
24
- not really be leaks, but dike provided a simple way to see the hotspots in
25
- your code that may potentially be leaking.
20
+ the concept behind dike.rb is simple: class Object is extended in order that
21
+ the location of each object's creation is tracked. a summarizer command is
22
+ given to walk ObjectSpace using each object's class and the location if it's
23
+ creation to detect memory leaks. not all leaks can be detected and some that
24
+ are may not really be leaks, but dike provided a simple way to see the
25
+ hotspots in your code that may potentially be leaking.
26
26
 
27
27
  EXAMPLES
28
28
 
@@ -47,7 +47,7 @@ EXAMPLES
47
47
 
48
48
  shell: ./script/server
49
49
 
50
- shell: curl --silent http://localhost:3000
50
+ shell: curl --silent http://localhost:3000 >/dev/null
51
51
 
52
52
  shell: cat ./log/dike/0
53
53
  ---
@@ -72,7 +72,7 @@ EXAMPLES
72
72
  - /Users/ahoward/site/votelink.com/public/../config/../app/controllers/application.rb:150
73
73
  ...
74
74
 
75
- shell: curl --silent http://localhost:3000
75
+ shell: curl --silent http://localhost:3000 >/dev/null
76
76
 
77
77
  shell: cat ./log/dike/1
78
78
  ---
@@ -98,17 +98,20 @@ EXAMPLES
98
98
  ...
99
99
 
100
100
  shell: dike ./log/dike
101
- ---
102
- - class: Proc
103
- count: 65
104
- trace:
105
- - /opt/local/lib/ruby/1.8/cgi/session.rb:165:in `new'
106
- - /opt/local/lib/ruby/1.8/cgi/session.rb:165:in `callback'
107
- - /opt/local/lib/ruby/1.8/cgi/session.rb:299:in `initialize'
108
- - /Users/ahoward/src/ruby/dike/dike-0.0.1/lib/dike.rb:233:in `new'
109
- - /Users/ahoward/src/ruby/dike/dike-0.0.1/lib/dike.rb:233:in `call'
110
- - /Users/ahoward/src/ruby/dike/dike-0.0.1/lib/dike.rb:233:in `new'
111
- - /Users/ahoward/site/votelink.com/public/../config/../vendor/rails/actionpack/lib/action_contr oller/cgi_process.rb:123:in `session'
101
+ ...
102
+ - class: Class
103
+ count: 3
104
+ trace:
105
+ - /Users/ahoward/site/votelink.com/public/../config/../lib/widgets.rb:222:in `class_factory'
106
+ - /Users/ahoward/site/votelink.com/public/../config/../lib/widgets.rb:220:in `each'
107
+ - /Users/ahoward/site/votelink.com/public/../config/../lib/widgets.rb:220:in `class_factory'
108
+ - /Users/ahoward/site/votelink.com/public/../config/../lib/widgets.rb:248:in `Widget'
109
+ - /Users/ahoward/site/votelink.com/public/../config/../lib/widgets/page/base.rb:1
110
+ - /Users/ahoward/site/votelink.com/public/../config/../lib/widgets.rb:31:in `require'
111
+ - /Users/ahoward/site/votelink.com/public/../config/../lib/widgets.rb:31:in `load'
112
+ - /Users/ahoward/site/votelink.com/public/../config/../lib/widgets.rb:16:in `for_controller'
113
+ - /Users/ahoward/site/votelink.com/public/../config/../lib/widgets.rb:243:in `widget'
114
+ - /Users/ahoward/site/votelink.com/public/../config/../app/controllers/application.rb:150
112
115
  ...
113
116
 
114
117
  SUMMARY
@@ -117,7 +120,7 @@ SUMMARY
117
120
 
118
121
  class : the class of object being leaked/allocated
119
122
  count : the number instances leaked from the trace location
120
- trace : the trace location of object birth
123
+ trace : the trace location of object creation
121
124
 
122
125
  * loading into a rails environment causes snapshots of the above format to
123
126
  be dumped into RAILS_ROOT/log/dike/ after each request. each snapshot is
@@ -154,11 +157,11 @@ SUMMARY
154
157
  Dile.filter Array
155
158
 
156
159
  would cause logging to restrict itself to Array, or sublcasses of
157
- Array, only
160
+ Array
158
161
 
159
162
  - Dike.log io
160
163
 
161
- set the dike logging object. the object should respond to 'puts'.
164
+ set the dike logging object. the object should respond to 'puts'.
162
165
 
163
166
  - Dike.logfactory directory
164
167
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: dike
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1
6
+ version: 0.0.2
7
7
  date: 2007-09-27 00:00:00 -06:00
8
8
  summary: dike
9
9
  require_paths:
@@ -31,7 +31,6 @@ authors:
31
31
  files:
32
32
  - bin
33
33
  - bin/dike
34
- - dike-0.0.1.gem
35
34
  - gemspec.rb
36
35
  - install.rb
37
36
  - lib
data/dike-0.0.1.gem DELETED
File without changes