RubyGems Navigation menu

event_hook 1.1.1

Wraps rb_add_event_hook so you can write fast ruby event hook processors w/o the speed penalty that comes with set_trace_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)

Versions:

  1. 1.1.1 - February 5, 2012 (10 KB)
  2. 1.0.2 - September 2, 2010 (10 KB)
  3. 1.0.1 - June 23, 2009 (9.5 KB)
  4. 1.0.0 - May 20, 2009 (9.5 KB)

Runtime Dependencies:

Authors:

  • Ryan Davis

Owners:

5a837592409354297424994e8d62f722

Sha 256 checksum:

2fda369f8bc4b0856e1e668284978889d796ca8757b1cfaa7a72475f9188eed1

Total downloads 7,825

For this version 1,740

Required Ruby Version: None

Licenses:

N/A

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: