simdjson_nodejs icon indicating copy to clipboard operation
simdjson_nodejs copied to clipboard

Node.js bindings for the simdjson project: "Parsing gigabytes of JSON per second"

Results 16 simdjson_nodejs issues
Sort by recently updated
recently updated
newest added

Hi @luizperes I know this library was made to handle large JSON files, but there i occurred to some performance stranges when tried to parse my json and benchmarked, this...

enhancement
help wanted
performance issue

Node version: v14.15.4 Npm version: 6.14.10 OS: Ubuntu 16.04.6 LTS simdjson version: 0.9.2 `In file included from ../simdjson/bindings.h:2:0, from ../simdjson/main.cpp:2: ../simdjson/src/simdjson.h:22936:58: error: ambiguous template specialization ‘get’ for ‘simdjson::simdjson_result simdjson::fallback::ondemand::document::get() &’...

NODE_VERSION: 15.10.0 TARGET_PLATFORM_VERTION: 10.0.17763.0 VS_VERTION: VS2017 (15.9.28307.1440) TOOLSET_VERTION: v141 ` node-addon-api\napi-inl.h(2155): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify simdjson\simdjson\bindings.cpp(15): error C2653: 'dom': is not...

bug
help wanted
good first issue

(Apologies in advance for this issue being kind of all over the place...) I'm playing with code that is processing a potentially large input which is basically a single array...

Reading the code I see the fast part of simdjson is parsing the bytes of json and creating two buffers/tapes. One is the json tape that marks starting, ending and...

The simdjson parser has some allocation to do when it is initialized, and currently simdjson_nodejs recreates the parser every single time. We could use napi's [napi_set/get_instance_data](https://nodejs.org/api/n-api.html#n_api_environment_life_cycle_apis) to store an instance...