SimpleJson is slow .... is there any C Compiled version ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • patelss23
    New Member
    • Jul 2007
    • 16

    #1

    SimpleJson is slow .... is there any C Compiled version ?

    Hello All,

    I have created an API which fetches some data from the database.
    I am using simplejson to encode it and return it back.

    Now the problem is that, this API is being called for millions of
    times in a sequence.
    I ran a profiler and saw that most of the time is consumed in encoding
    my database results in to json.
    So I was just wondering is there any C compiled version of simplejson
    is available?
    or any help regarding this issue would be appreciated.

    I am using python2.4 on centos and using cherrypy 3.0 as a server

    Thank you,
    Sanket
Working...