nodejs / abi-stable-node

Repository used by the Node-API team to manage work related to Node-API and node-addon-api
239 stars 47 forks source link

Burn down list of issues raised by module owners #281

Open mhdawson opened 6 years ago

mhdawson commented 6 years ago

Community reported issues:

digitalinfinity commented 6 years ago

I'll edit the issue to include the links to the issues that are being tracked by this meta-issue

mhdawson commented 6 years ago

https://github.com/nodejs/abi-stable-node/issues/279

digitalinfinity commented 6 years ago

@mhdawson I've added a few issues here- feel free to update the issue to add any I might have missed (and I'll add more to this list as they come in)

mhdawson commented 6 years ago

@digitalinfinity thanks !

YafimK commented 6 years ago
digitalinfinity commented 6 years ago

Thanks @YafimK - can you create a separate issue in nodejs/node with more details on what change you'd like to see, perhaps with the use case- I can then update the above list and link to that issue.

digitalinfinity commented 6 years ago

For node-native-histogram, I've determined that the benchmark is not doing a significant amount of work, so its effectively just measuring the difference between napi_call_function and nan's function call API. Given that, I don't think we have to necessarily address this immediately since in most benchmarks where the benchmark does non-trivial work, the overhead difference would be less significant and so I'll check this off our list. However, I'll continue to look at whether there are more clever things we can do to reduce the absolute difference in overheads but napi_call_function will always have greater overhead since it's a more general API than nan.

gabrielschulhof commented 6 years ago

https://github.com/MayhemYDG/iltorb/tree/napi documents a slight memory leak wrt. V8 bindings.

gabrielschulhof commented 6 years ago

https://github.com/MayhemYDG/iltorb/pull/70#issuecomment-397127385

NickNaso commented 5 years ago

Hi everyone I want report this issue https://github.com/kelektiv/node.bcrypt.js/issues/709 developers are starting use ative addons in worker_threads so they need to refactor to implement a context aware addon.

gabrielschulhof commented 2 years ago

We discussed a possible solution to the accumulation of native finalizers during a tight loop that creates wrapped objects here:

https://github.com/nodejs/node-addon-api/issues/1140