Categories: None [Edit]

event_hook

https://rubygems.org/gems/event_hook
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)

Total

Ranking: 55,761 of 183,107
Downloads: 17,359

Daily

Ranking: 53,556 of 183,092
Downloads: 1

Depended by

RankDownloadsName
46,75222,056zenprofile
116,4415,367crystalizer

Depends on

RankDownloadsName
19895,194,587minitest
210167,990,555rdoc
2,0868,574,300hoe
2,2187,620,603RubyInline

Owners

#GravatarHandle
1iconzenspider