Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracing core module and node 0.11.15 #12

Closed
mpal9000 opened this issue Jan 24, 2015 · 7 comments
Closed

tracing core module and node 0.11.15 #12

mpal9000 opened this issue Jan 24, 2015 · 7 comments

Comments

@mpal9000
Copy link

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

@AndreasMadsen
Copy link
Owner

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

@trevnorris
Copy link

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.

@AndreasMadsen
Copy link
Owner

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

@AndreasMadsen
Copy link
Owner

@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.

@mpal9000
Copy link
Author

All right, thank you!

@AndreasMadsen
Copy link
Owner

@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.

@mpal9000
Copy link
Author

mpal9000 commented Feb 7, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants