Permalink
Browse files

Release 0.4.0 (separate reporting thread)

  • Loading branch information...
1 parent 76c2c32 commit 7208ea73d1107eb0ee6bbafd39c53de3f6bcd119 @delano committed Oct 6, 2009
Showing with 15 additions and 5 deletions.
  1. +3 −1 CHANGES.txt
  2. +1 −1 README.rdoc
  3. +10 −2 benelux.gemspec
  4. +1 −0 lib/benelux.rb
  5. +0 −1 lib/benelux/reporter.rb
View
@@ -1,11 +1,13 @@
BENELUX, CHANGES
-#### 0.3.3 (2009-10-??) ###############################
+#### 0.4.0 (2009-10-06) ###############################
* CHANGE: All tag values are stored as strings. Keys can be anything.
* CHANGE: Removed object-specific timelines
+* CHANGED: Stats calculators no longer keep all values
* ADDED: Counts
+* ADDED: Reporter thread
#### 0.3.2 (2009-10-02) ###############################
View
@@ -1,4 +1,4 @@
-= Benelux v0.3 (IN PROGRESS)
+= Benelux v0.4 (IN PROGRESS)
<b>A madhouse of timers for your Ruby codes</b>
View
@@ -1,7 +1,7 @@
@spec = Gem::Specification.new do |s|
s.name = "benelux"
s.rubyforge_project = 'benelux'
- s.version = "0.3.2"
+ s.version = "0.4.0"
s.summary = "Benelux: Little freakin' timers for your Ruby codes"
s.description = s.summary
s.author = "Delano Mandelbaum"
@@ -30,14 +30,22 @@
lib/benelux/mixins/thread.rb
lib/benelux/packer.rb
lib/benelux/range.rb
+ lib/benelux/reporter.rb
lib/benelux/stats.rb
lib/benelux/timeline.rb
+ lib/benelux/track.rb
lib/selectable.rb
+ lib/selectable/global.rb
+ lib/selectable/object.rb
+ lib/selectable/tags.rb
tryouts/10_stats_tryouts.rb
tryouts/11_selectable_tryouts.rb
- tryouts/20_class_methods_tryouts.rb
+ tryouts/12_selectable_global_tryouts.rb
+ tryouts/20_tracks_tryouts.rb
+ tryouts/30_reporter_tryouts.rb
tryouts/30_timeline_tryouts.rb
tryouts/proofs/alias_performance.rb
+ tryouts/proofs/array_performance.rb
tryouts/proofs/timer_threading.rb
)
View
@@ -62,6 +62,7 @@ def Benelux.current_track(name=nil,group=nil)
@tracks[name] ||= Track.new(name, group)
@tracks[name].add_thread Thread.current
@reporter.add_thread Thread.current
+ @reporter.start
end
end
Benelux.track(name)
@@ -8,7 +8,6 @@ def initialize(*threads)
@abort, @running = false, false
@tmerge = Benelux::Stats::Calculator.new
add_threads *threads
- start
end
def add_threads(*threads)
threads.each do |thread|

0 comments on commit 7208ea7

Please sign in to comment.