AndreasMadsen/trace

tracing core module and node 0.11.15

Closed this issue · 7 comments

Hi, the "tracing" core module has been removed from node v0.11.15

Oh, yeah, that was supposed to happen eventually. @trevnorris what is the recommended alternative to the tracing module?

Nothing right now. Currently there is an undocumented way to tap into AsyncWrap's internal mechanism, and left that way to module developers can experiment with the API so we can get feedback while figuring out the best API to use.

@trevnorris Thanks for clarifying, I will try migrating to that API.

@mpal9000 I'm working on it. But unfortunately there is a few bugs in the new AsyncWrap interface. So for now you will have to stick to node 0.11.14.

All right, thank you!

@mpal9000 node 0.11.15, 0.11.16 and iojs should now be supported. However it uses some really dirty hacks so I can't promise anything, but we will just have to take those issues as they appear. Node 0.11.14 is still supported using the old approach, so you can downgrade to that if you hit any major issues.

EDIT: there is also some performance hit. The benchmark went from 7x slower to 11x slower than the baseline (without trace). However with the recent upgrade to stack-chain 1.3.1 it pretty much cancels out.

I'll let you know if I have any issues, thanks!