-
Notifications
You must be signed in to change notification settings - Fork 459
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
3x overhead on Node 6 #102
Comments
This is the flamegraph with NAN. There are some notable differences, so check them out. |
That's surprising, as I have not seen more than about 20% overhead even in the most extreme cases. I'd like to look into it, but it might be a few days before I have time. |
@jasongin have you had a chance to take a look yet ? |
Sorry I have not had time to look at this, and will not anytime soon. I will be on vacation 8/17 - 9/4. |
@digitalinfinity volunteered to look at this as a priority in the N-API weekly meetin glast week. |
@digitalinfinity can you add the info you reported in a meeting a while back so that we can close this issue. |
Going to close out as Node.js 6.x is long out of LTS. Please let us know if this is not the right thing to do. |
I've benchmarked https://github.com/mcollina/native-hdr-histogram/tree/napi on Node 6.11 against the NAN implementation with https://github.com/mcollina/native-hdr-histogram/blob/napi/bench.js.
The result is that the NAPI version takes 167ms to complete, vs 67ms to the NAN version.
This might be related to this specific implementation, as I have not tested it yet on Node 8.3.0 (I'm blocked on #101).
flamegraph.html.zip <-- if a flamegraph might be of help.
The text was updated successfully, but these errors were encountered: