-
Notifications
You must be signed in to change notification settings - Fork 34
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
sqlite N-API port - resolve mac issue #288
Comments
@anisha-rohra investigated and fixed the original problem reported, now working on additional reported problems and also to investigate if we can remove the C++ 11 requirement. |
mapbox, found issue, we fixed in our repo. Anisha is working on PR. |
Jim has been working on this for a while, see TryGhost/node-sqlite3#830 for current state. |
There is now a PR under active work. TryGhost/node-sqlite3#1304 |
@NickNaso requested some benchmarks. Here are some rough numbers from the Mocha tests.
The NAN and N-API columns show those tests for which Mocha is reporting a "slow" time. The Mocha default "slow" threshold is 75ms. A timer is displayed for those tests exceeding ~37ms. Both Mocha tests run in about two seconds of wall-clock time. |
The PR has landed. |
Below is the results of the benchmarks I've run as we discussed at the most recent weekly meeting. Two tests were run, one for NAN and one for N-API, both using Node.js v12.16.2. The NAN test was run using a pre-built, downloadable binary for the currently shipping
Here's what the table headings mean: Mocha Test The name of the Mocha test.
† This test succeeds on N-API but fails on NAN. |
This is the raw data, in |
PR has landed in sqlite repo so closing this. |
https://github.com/mapbox/node-sqlite3/releases/tag/v5.0.0 |
TryGhost/node-sqlite3#830
The text was updated successfully, but these errors were encountered: