[Sugar-devel] Rationale behind the JSON -> CJSON switch in Sugar codebase?

Lucian Branescu lucian.branescu at gmail.com
Fri Nov 13 05:40:22 EST 2009


I did a quick and not-so-scientific benchmark. The test involves a
round trip for a small json file 100000 times.

cjson                7.56759595871
simplejson-c      9.09944200516
simplejson-pure  58.1605060101

2009/11/13 Daniel Drake <dsd at laptop.org>:
> On Fri, 2009-11-13 at 10:53 +0100, Martin Langhoff wrote:
>> After a few tries, I did find that the same problem was reported in
>> Debian, a patch proposed, and upstream rejected it:
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534709
>>
>> As Tomeu mentions, Python 2.6 reduces the cjson/json performance advantage.
>
> OK, didn't see this. Yes, using python standard library seems like the
> way to go.
>
> Daniel
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>


More information about the Sugar-devel mailing list