symbol-db: added sqlite benchmark. Sqlite APIs are 10 times faster than libgda's.
commitfcfc590238769c0ceba0e7bd03a0b98eb2bef69b
authorMassimo Corà <mcora@src.gnome.org>
Thu, 8 Jul 2010 22:15:03 +0000 (9 00:15 +0200)
committerMassimo Corà <mcora@src.gnome.org>
Thu, 8 Jul 2010 22:15:48 +0000 (9 00:15 +0200)
tree2277a8cecdfaf7c19129f8647cdbbd15a9d73732
parentfe1e7d8a3c25c26c10ef64f01de8efdfa967fda8
symbol-db: added sqlite benchmark. Sqlite APIs are 10 times faster than libgda's.

From the tests I get 0.78 seconds for 20k symbols with sqlite and 7.5 seconds
with libgda's. Am I missing something or is libgda so slow?
plugins/symbol-db/benchmark/libgda/libgda.c
plugins/symbol-db/benchmark/sqlite/Makefile.am [new file with mode: 0644]
plugins/symbol-db/benchmark/sqlite/sqlite.c [new file with mode: 0644]