Skip to content
This repository has been archived by the owner on Feb 21, 2018. It is now read-only.

Looking for good example native modules for performance testing #21

Closed
ianwjhalliday opened this issue Jun 10, 2016 · 5 comments
Closed

Comments

@ianwjhalliday
Copy link

Hi folks,

@stefanmb, @mhdawson, and I have been experimenting with a prototype VM agnostic and ABI stable API for interfacing with JavaScript in native modules and we would like to test on real world native modules to reveal any performance bottlenecks or issues.

We suspect modules that expose a "chatty" API (frequent calls back and forth between JavaScript code and the module's native code) may reveal performance issues.

Does anyone know of good example modules that we can test with?

Modules that also have established benchmarks would be great so that we can avoid spending time on creating new benchmarks.

@aruneshchandra suggested leveldown as a good example, we are looking at it now to get started.

@JCMais
Copy link

JCMais commented Jun 11, 2016

We suspect modules that expose a "chatty" API (frequent calls back and forth between JavaScript code and the module's native code) may reveal performance issues.

The addon I was working on would fit that, however, it's being throw together while I'm learning C++, so it's probably not a good example to use. It doesn't have any benchmark done. https://github.com/JCMais/node-libcurl

@kkoopa
Copy link

kkoopa commented Jun 12, 2016

@mhdawson
Copy link
Member

mhdawson commented Jul 7, 2016

Going to start looking at sqlite3

@aruneshchandra
Copy link

Additionally @rvagg suggested bignum and serialport. He may have some more to suggest, but this seems like a good list at the moment.

@mhdawson
Copy link
Member

While more suggestions are always welcome. I'm going to close this as I think any suggestions we are going to get we have by now.

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

No branches or pull requests

5 participants