[google-appengine] Re: Faster server-side json?

2009-03-24 Thread Sharp-Developer.Net
Starred On Mar 23, 2:55 pm, Andy Freeman ana...@earthlink.net wrote: According tohttp://blog.metaoptimize.com/2009/03/22/fast-deserialization-in-python/ , simplejson is significantly slower than cjson. I've created an issue requesting the fastest possible json

[google-appengine] Re: Faster server-side json?

2009-03-24 Thread Andy Freeman
That's why issue 1174 requests the fastest possible json, not cjson. 1174 actually requests multiple jsons, so folks can use what's best for their application. On Mar 23, 10:32 pm, Joseph Turian tur...@gmail.com wrote: I am the author of the blog post. bUpdate (20090324):/b According to a

[google-appengine] Re: Faster server-side json?

2009-03-24 Thread David Wilson
Just idly wondering, Have you done any quantitative measurement of how bad simplejson is? I can't imagine it being a large overhead, unless your application is seriously optimized to extremes already. David 2009/3/24 Andy Freeman ana...@earthlink.net: That's why issue 1174 requests the

[google-appengine] Re: Faster server-side json?

2009-03-24 Thread Andy Freeman
The referenced post has examples of simplejson taking 10x more time than cjson. 10x difference in a component is noticeable for some applications. It also shows that pickle is much slower and has 2x bigger output than json for objects. (For strings, they all should be roughly the same.) I

[google-appengine] Re: Faster server-side json?

2009-03-24 Thread David Wilson
These aren't the kind of quantitative I meant. ;) 10 times nothing is still nothing. What kind of overhead, in terms of time and CPU usage in a typical request in your application? It's just a bunch of string manipulation, it should be really cheap compared to even a single

[google-appengine] Re: Faster server-side json?

2009-03-23 Thread bFlood
agreed. starred the issue. cpickle would be nice too On Mar 23, 10:55 am, Andy Freeman ana...@earthlink.net wrote: According tohttp://blog.metaoptimize.com/2009/03/22/fast-deserialization-in-python/ , simplejson is significantly slower than cjson. I've created an issue requesting the

[google-appengine] Re: Faster server-side json?

2009-03-23 Thread peterk
Starred, and thanks for finding that. One of the requests I expect to be the most popular in my app spits out json, so the faster the better! On Mar 23, 3:29 pm, bFlood bflood...@gmail.com wrote: agreed. starred the issue. cpickle would be nice too On Mar 23, 10:55 am, Andy Freeman

[google-appengine] Re: Faster server-side json?

2009-03-23 Thread xml2jsonp
Starred :-) -- Web Blue Screen of Death http://pyoohtml.appspot.com/web-blue-screen-of-death On Mar 23, 3:55 pm, Andy Freeman ana...@earthlink.net wrote: According tohttp://blog.metaoptimize.com/2009/03/22/fast-deserialization-in-python/ , simplejson is significantly slower than cjson.