Loading ...
Sorry, an error occurred while loading the content.

1782Re: [json] c++ library benchmark

Expand Messages
  • Rob Meijer
    Nov 23, 2011
    • 0 Attachment
      This benchmark seems to test the wrong thing. A library that is lazy in
      parsing and pre-serializes on each update would likely perform poorly in
      real operation but would outperform all others according to this benchmark.
      On Nov 22, 2011 4:09 PM, "jonathan wallace" <ninja9578@...> wrote:

      > **
      >
      >
      > Hello,
      > I was sent a message on sourceforge a while ago about someone doing a
      > benchmark test of the most popular c++ json libraries.
      >
      > He compared json_spirit (Boost), CAJUN, and libjson. He attempted to
      > include jsoncpp in his tests, but said he couldn't get it to compile.
      >
      > I was sent the results this weekend:
      > http://lijoblogs.blogspot.com/2011/11/comparison-and-benchmark-of-c-json.html
      >
      > I was surprised that json_spirit performed so poorly considering it's part
      > of Boost. CAJUN ran more than five times faster than it and libjson ran
      > almost FIVE HUNDRED times faster than it.
      >
      > Jon
      >
      > [Non-text portions of this message have been removed]
      >
      >
      >


      [Non-text portions of this message have been removed]
    • Show all 3 messages in this topic