trackersink batch save benchmarking. Remove dead commitTransation
authorAleksandar Stojiljkovic <aleksandar.stojiljkovic@nokia.com>
Tue, 17 Aug 2010 04:09:12 +0000 (07:09 +0300)
committerAleksandar Stojiljkovic <aleksandar.stojiljkovic@nokia.com>
Tue, 17 Aug 2010 04:09:12 +0000 (07:09 +0300)
commite828849897c15a13fe65714717aa48a5b252ed9b
tree626c14211fea0809cf5a52276412847e8985496b
parent5a372633c2dc287a00ab288681a16c1e34379329
trackersink batch save benchmarking. Remove dead commitTransation

saving in pairs is faster then one by one - bm_contactsd_batchsaving <numberofcontacts> <batch_size>:
bm_contactsd_batchsaving 100 1 ... 11.020s
bm_contactsd_batchsaving 100 2 ... (5 - 8s)
bm_contactsd_batchsaving 100 100 ... (2.7 - 3.6s)

bm_contactsd_batchsaving 1000 .... ~100s
bm_contactsd_batchsaving 1000 1000 .... 25-30s
benchmarks/bm_contactsd_batchsaving.cpp
plugins/telepathy/trackersink.cpp
plugins/telepathy/trackersink.h