Comments (4)
Thanks. Not sure if this is sufficient but here is the output (there was a bunch of error messages also as well, let me know if I should post):
npm\node_modules\jsonexport\benchmark>node benchmark.js
Executed benchmark against node module: "jsonexport"
Count (1), Cycles (1), Elapsed (512.53 sec), Hz (0.00975936285335975 ops/sec)
Executed benchmark against node module: "jsonexport-stream"
Count (1), Cycles (1), Elapsed (10.388 sec), Hz (0.8795467729800702 ops/sec)
PS There were two output files (out.csv
and out-no-streams.csv
), the converted version of data.json
. I can post them though they look fine!
from jsonexport.
@m-prof can you try running the benchmark/benchmark.js
?
from jsonexport.
Sorry for being a noob but I am not getting this to work: I am trying ~\jsonexport\benchmark>node benchmark.js
from a command prompt and I get error messages:
internal/modules/cjs/loader.js:976
throw err;
^
Error: Cannot find module 'benchmark'
Require stack:
- \npm\node_modules\jsonexport-master\benchmark\benchmark.js
�[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:973:15)�[39m
�[90m at Function.Module._load (internal/modules/cjs/loader.js:855:27)�[39m
�[90m at Module.require (internal/modules/cjs/loader.js:1033:19)�[39m
�[90m at require (internal/modules/cjs/helpers.js:72:18)�[39m
at Object.<anonymous> (\npm\node_modules\�[4mjsonexport-master�[24m\benchmark\benchmark.js:3:17)
�[90m at Module._compile (internal/modules/cjs/loader.js:1144:30)�[39m
�[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1164:10)�[39m
�[90m at Module.load (internal/modules/cjs/loader.js:993:32)�[39m
�[90m at Function.Module._load (internal/modules/cjs/loader.js:892:14)�[39m
�[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)�[39m {
code: �[32m'MODULE_NOT_FOUND'�[39m,
requireStack: [
�[32m'\\npm\\node_modules\\jsonexport-master\\benchmark\\benchmark.js'�[39m
]
}
I assume I am not executing this correctly!
from jsonexport.
@m-prof you are almost there :)
try running npm install
first
from jsonexport.
Related Issues (20)
- Stream does not support typeHandlers option HOT 3
- How to remove the title option from inside xls file
- Nested JSONObject not correctly mapping to csv
- Update v2.5.2 to v2.5.3 with Bug Fixes for package.json stuck on v2
- verticalOutput with Arrays HOT 1
- No option to ignore fields / limit fields to export ? HOT 2
- large files not converting HOT 10
- (I think I) found a bug HOT 6
- typeHandlers tests & more samples
- Column values with zero (0) are being replaced with "" HOT 3
- Complex JSON array - unexpected behavior HOT 1
- Need Help : Complex Json Array to CSV HOT 2
- Json Complex Example HOT 2
- JSON Array not converting to CSV HOT 1
- TypeError: this._options.handleDate is not a function HOT 5
- Question. What is expected behaviour when exporting objects where some do not have all fields in header HOT 12
- typeHandlers is not part of UserOptions HOT 2
- CLI: Json Complex Object outputting all keys as headers HOT 11
- Exporting a dataset with a hashtag (#) in a string breaks CSV HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonexport.