[
https://issues.apache.org/jira/browse/SHINDIG-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614783#action_12614783
]
Ian Boston commented on SHINDIG-451:
------------------------------------
New results with the correct filter in place, the messages are now the same
size and SF JSON is about 3 times faster on output than ORG JSON. Will update
the patch in a minute.
INFO SF JSON Lib Output 0.1697 ms/conversion, 35.587204 heap bytes/conversion,
output packet consumed on average 233.6064 for a string length of 97
[2008-07-18 17:36:50,835] (JsonConverterPerformanceTest.java:142)
INFO Output Was
[{"newfield":"nonsense","name":{"unstructured":"robot"},"isOwner":false,"id":"0","isViewer":false}]
[2008-07-18 17:36:50,838] (JsonConverterPerformanceTest.java:148)
INFO SF JSON Lib Input 0.1298 ms/conversion, 217.01837 heap bytes/conversion,
person object consumed on average 320.088 [2008-07-18 17:36:53,966]
(JsonConverterPerformanceTest.java:179)
INFO ORG JSON Lib Output 0.59 ms/conversion, 34.423996 heap bytes/conversion,
output packet consumed on average 233.1744 for a string length of 97
[2008-07-18 17:37:00,147] (JsonConverterPerformanceTest.java:213)
INFO Output Was
[{"newfield":"nonsense","name":{"unstructured":"robot"},"id":"0","isOwner":false,"isViewer":false}]
[2008-07-18 17:37:00,148] (JsonConverterPerformanceTest.java:219)
> JSON Serialization using net.sf.json-lib
> ----------------------------------------
>
> Key: SHINDIG-451
> URL: https://issues.apache.org/jira/browse/SHINDIG-451
> Project: Shindig
> Issue Type: Improvement
> Components: OpenSocial feature (Javascript), RESTful API (Java)
> Reporter: Ian Boston
> Attachments: SHINDIG-451.patch
>
>
> Progress on a patch to use json-lib to perform serialization of the inbound
> and outbound json messages, at the moment it re-uses the rhino from Shindig
> 412, but only in the tests to give finer grain control in the test cases. The
> Enum handling in json-lib is neat :).
> The unit tests that are not currently working are disabled with a Xtest, but
> Person and activity with some depth in the tree are working.
> Will attache the patch in a moment.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.