Re: [ovs-dev] [PATCH v3 1/1] json: Use reference counting in JSON objects

2016-10-04 Thread Ben Pfaff
On Tue, Oct 04, 2016 at 07:31:48PM +, Rodriguez Betancourt, Esteban wrote: > After profiling OVSDB insert performance it was found > that some significant portion of its time OVSDB is > calling the function json_clone. > > Also, the current usages of json_clone never modify the json, > just ke

[ovs-dev] [PATCH v3 1/1] json: Use reference counting in JSON objects

2016-10-04 Thread Rodriguez Betancourt, Esteban
After profiling OVSDB insert performance it was found that some significant portion of its time OVSDB is calling the function json_clone. Also, the current usages of json_clone never modify the json, just keeps it to prevent it to be freed. With that in mind the struct json, json_create, json_clo