Benchmarks of matrix to JSON conversion performance in various languages / packages
Background about the context, methodology etc. in these blog posts:
NB: Work in Progress
Package | T_out | T_in | Size |
---|---|---|---|
jsonlite | 19.23444 secs | 25.10679 secs | 238.9 MB |
RJSONIO | 19.62544 secs | 23.94082 secs | 238.9 MB |
rjson | 4.120749 secs | 16.52509 sec | 238.9 MB |
numpy / json | 5.80395 secs | 5.51479 secs | 238.9 MB |
pandas.to_json | 7.97321 secs | 14.95067 secs | 238.9 MB |
If not already present, install the following:
- sudo apt-get install libarmadillo-dev
- Version 10 of armadillo is used
- sudo apt-get install libeigen3-dev
- Version 3.4