[JAVA-959] JSON.parse Efficiency improvement Created: 26/Sep/13  Updated: 23/Jun/15  Resolved: 23/Jun/15

Status: Closed
Project: Java Driver
Component/s: JSON
Affects Version/s: 2.11.3
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: louisjiang Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Java Source File JsonDeserializer.java    

 Description   

json parsing, see attachment.



 Comments   
Comment by Jeffrey Yemin [ 04/Dec/13 ]

Thanks for the benchmarks, but could you also describe the changes you made?

Comment by louisjiang [ 29/Sep/13 ]

Test Environment:fedora 19,Dual core cpu 16G, jdk1.7.0_17
Development Tools:Myeclise 10
Test Data:
json length:32875975
mongo json parse:3431ms
my json parse:1165ms
--------------------------------
json length:1622589
mongo json parse:74ms
my json parse:16ms
--------------------------------

Comment by Jeffrey Yemin [ 26/Sep/13 ]

Can you describe the changes you made and why you think it's more efficient? Also, any benchmarks you're run would be helpful.

Thanks,
Jeff

Generated at Thu Feb 08 08:53:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.