Improved performance in get/set operation 56/106656/8 accepted/tizen/3.0/common/20170118.130815 accepted/tizen/3.0/ivi/20170118.042650 accepted/tizen/3.0/mobile/20170118.042557 accepted/tizen/3.0/tv/20170118.042614 accepted/tizen/3.0/wearable/20170118.042631 submit/tizen_3.0/20170116.091702
authorJiwoong Im <jiwoong.im@samsung.com>
Thu, 22 Dec 2016 08:33:08 +0000 (17:33 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Wed, 11 Jan 2017 11:02:55 +0000 (20:02 +0900)
commite0774ad8cb34418fe701546627329096d28862bf
tree00a10ecd31833542d05609423978ec57077e6086
parent208e292eb9d6423ae7926c69bae2d294bd6972bd
Improved performance in get/set operation

- Add hashtable in buxton daemon to reduce db access.
  Add hashtable in client for repeated get operation on the same key.
  Send notis to client after sending result of set operation.

- Brief profiling data
 +---------------------------------------------------+
 | - Gerenal set/get operation                       |
 | vconf set average : 5.420375 ms -> 3.430805 ms    |
 | vconf get average : 1.721345 ms -> 0.592360 ms    |
 |                                                   |
 | - Repeated get operation on the same key          |
 | vconf get average : 1.721345 ms -> 0.010990 ms    |
 +---------------------------------------------------+

Change-Id: Ib7ffd75dbd3bb11b76e9729f4177605848c47dfe
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
client/CMakeLists.txt
common/cache.c [new file with mode: 0644]
common/cache.h [new file with mode: 0644]
common/direct.c
daemon/CMakeLists.txt
daemon/daemon.c
lib/CMakeLists.txt
vconf-compat/vconf.c