Implementation & Performance Analysis of Language Bindings Generators for Elektra
- Peak resident set size after interpreter startup and binding loading
- Create a kdb.Key, measure cpu time - in a loop
- Peform kdb.Key operations, measure cpu time - in a loop
for _ in range(0, 50000):
key = kdb.Key("user/foo/bar",
kdb.KEY_VALUE, "value",
kdb.KEY_META, "by", "foo",
kdb.KEY_META, "owner", "bar"
)
key.isValid()
bool(key)
str(key)
key.setMeta("foo", "bar")
sum(1 for _ in key.getMeta())
key.get()
key.set(b"bvalue\0\0")
key.name
key.value
next