jsaone
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
jsaone [2015/03/10 23:32] – urgh pietro | jsaone [2019/02/05 19:16] (versione attuale) – on github pietro | ||
---|---|---|---|
Linea 1: | Linea 1: | ||
- | {{: | + | {{: |
- | {{: | + | {{: |
- | {{: | + | {{: |
====== What is jsaone? ====== | ====== What is jsaone? ====== | ||
Linea 21: | Linea 21: | ||
totalling 174 MB: | totalling 174 MB: | ||
- | ^ Parser | + | ^ Parser |
- | | standard (non-incremental) json | | + | | standard (non-incremental) json | 9.511 |
- | | cythonized jsaone | + | | cythonized jsaone |
- | | ijson (with yajl2 backend) | + | | ijson (with yajl2 backend) |
- | | pure python jsaone | + | | pure python jsaone |
Linea 33: | Linea 33: | ||
In particular, since the test was made on a file from a local hard disk, the | In particular, since the test was made on a file from a local hard disk, the | ||
bottleneck was clearly the CPU, and hence it is disadvantageous for incremental | bottleneck was clearly the CPU, and hence it is disadvantageous for incremental | ||
- | parsers (including jsaone). If the bottleneck is given by the medium/ | + | parsers (including jsaone). If the bottleneck is given by the medium/ |
- | should outperform the standard json, which will start processing only after the entire | + | jsaone |
- | stream is received. | + | only after the entire stream is received. |
=== Why " | === Why " | ||
Linea 53: | Linea 53: | ||
- you can extract/ | - you can extract/ | ||
- | | + | |
+ | |||
+ | (replace " | ||
Linea 67: | Linea 69: | ||
=== Development === | === Development === | ||
- | You can browse the git repo [[http://www.pietrobattiston.it/gitweb?p=jsaone.git|here]] or clone with | + | You can browse the git repo [[https://github.com/toobaz/ |
- | git clone git://pietrobattiston.it/jsaone | + | git clone https://github.com/toobaz/jsaone.git |
For bugs and enhancements, | For bugs and enhancements, | ||
+ | |||
+ | Jsaone should be able to parse any compliant json string... so if you find one on which it fails, please let me know! | ||
=== License === | === License === | ||
- | Released under the GPL 3. | + | Released under the GPL 3. Feel free to contact me if this is a problem for you (and GPL 2 is not). |
jsaone.1426026759.txt.gz · Ultima modifica: 2015/03/10 23:32 da pietro