Skip to content

Comment on rbtrace: like strace, but for ruby codeparent

Comments

Because "firehose" is what Twitter calls it?

tmm1OP

If you tried it, you would understand. Ruby programs make a _LOT_ of method calls.

Unfortunately the firehose doesn't work too well on OSX, because the unix message queue API I'm using (msgget(2)) is capped in the kernel to 2048 bytes and 40 messages per queue.

it could be made to work through a FIFO though, I guess? if so I could take a shot at it :)

tmm1OP

A FIFO might work. Do you know how big the buffers associated with FIFOs on OSX are?

sadly, I do not, I was sure I had a reference somewhere but I am completely unable to find it again :(

...and Slashdot before them. Actual strace uses -v.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.