Re: XML vs JSON writer performance issues

2007-06-27 Thread Jérôme Etévé
2007/6/27, Yonik Seeley <[EMAIL PROTECTED]>: > > It would be helpful if you could try out the patch at > https://issues.apache.org/jira/browse/SOLR-276 > > -Yonik I just tryed it out and it works. json output is now as fast as xml ! Well done :) thank you ! J. -- Jerome Eteve. [EMAIL PROTECTE

Re: XML vs JSON writer performance issues

2007-06-26 Thread James liu
XML data should bigger thant JSON data, and transfer quicker than JSON.. it surprised me. 2007/6/27, Yonik Seeley <[EMAIL PROTECTED]>: It would be helpful if you could try out the patch at https://issues.apache.org/jira/browse/SOLR-276 -Yonik On 6/26/07, Yonik Seeley <[EMAIL PROTECTED]> wro

Re: XML vs JSON writer performance issues

2007-06-26 Thread Yonik Seeley
It would be helpful if you could try out the patch at https://issues.apache.org/jira/browse/SOLR-276 -Yonik On 6/26/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 6/26/07, Jérôme Etévé <[EMAIL PROTECTED]> wrote: > I just tried the python writer and it's as fast as XML is. I'm still > looking

Re: XML vs JSON writer performance issues

2007-06-26 Thread Yonik Seeley
On 6/26/07, Jérôme Etévé <[EMAIL PROTECTED]> wrote: I just tried the python writer and it's as fast as XML is. I'm still looking at the code trying to point out the reason of that. Thanks for any help. It's Java's braindead Reader/Writer implementations. If you want really good performance, o

Re: XML vs JSON writer performance issues

2007-06-26 Thread Jérôme Etévé
On 6/26/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 6/26/07, Jérôme Etévé <[EMAIL PROTECTED]> wrote: > I'm currently running some tests with solr on a small index and I > noticed a big difference on the response time of queries depending on > the use of XML or json as a response format. > In

Re: XML vs JSON writer performance issues

2007-06-26 Thread Yonik Seeley
On 6/26/07, Jérôme Etévé <[EMAIL PROTECTED]> wrote: I'm currently running some tests with solr on a small index and I noticed a big difference on the response time of queries depending on the use of XML or json as a response format. In average, my test queries (including http connections open a

XML vs JSON writer performance issues

2007-06-26 Thread Jérôme Etévé
Hi all. I'm currently running some tests with solr on a small index and I noticed a big difference on the response time of queries depending on the use of XML or json as a response format. In average, my test queries (including http connections open and close ) takes 6 ms to perform when I ask fo