-
Committer:
Tarmac
-
Author(s):
Mikkel Kamstrup Erlandsen
-
Date:
2012-01-02 11:54:04 UTC
-
mfrom:
(319.1.11 optimized-getters)
-
Revision ID:
tarmac-20120102115404-7knuxouvsfnbneyg
Optimize the getters in DeeSequenceModel by shaving off a g_variant_ref() compared to the default impl in DeeSerializableModel. Benchmarks indicate a ~13% speedup when reading strings.
This branch also adds a benchmark for reading a string column out of a seqmodel.
It is now possible to pass arguments to tests/test-benchmark that specify prefixes that the benchmark names must match in order to be run. Without args all benchmarks are run.. Fixes: https://bugs.launchpad.net/bugs/900629. Appoved by Michal Hruby.