event_hook version 1.0.2 has been released!

| | Comments (0)

Wraps rbaddeventhook so you can write fast ruby event hook processors w/o the speed penalty that comes with settrace_func (sooo sloooow!). Calls back into ruby so you don't have to write C.

% ruby demo.rb 
# of iterations = 1000000
                          user     system      total        real
null_time             0.120000   0.000000   0.120000 (  0.125279)
ruby time             0.560000   0.000000   0.560000 (  0.562834)
event hook            3.160000   0.010000   3.170000 (  3.175361)
set_trace_func       34.530000   0.100000  34.630000 ( 34.942785)

Changes:

1.1.0 / 2010-09-02

  • 2 minor enhancements:

    • Allow eventhookklass to work with class and metaclass.
    • Force ~/.ruby_inline cleanup in tests
  • 1 bug fix:

    • event_hook won't work on any 1.9 w/o major rework :(
  • http://rubyforge.org/projects/seattlerb

Leave a comment

About this Entry

This page contains a single entry by zenspider published on September 2, 2010 12:13 AM.

rake-remote_task version 2.0.2 has been released! was the previous entry in this blog.

zenprofile version 1.3.0 has been released! is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.32-en