Large performance improvement by caching event class name and id
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 3 Nov 2016 20:33:13 +0000 (16:33 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:06 +0000 (14:09 -0400)
commit5990dd44d7b43d236e7622d24d6d4dd4e6c58379
treeeaca0fed4781aad86b6a813876fff3a74b81e158
parent2789e5d9b2cbbe16af62b703981719b9cae8470f
Large performance improvement by caching event class name and id

$ time ./converter/babeltrace --plugin-path=plugins ~/lttng-traces/allo-20160829-153459/kernel/ > /dev/null

real    0m6.490s
user    0m6.413s
sys     0m0.067s

Caching of event class id and name

$ time ./converter/babeltrace --plugin-path=plugins ~/lttng-traces/allo-20160829-153459/kernel/ > /dev/null

real    0m1.027s
user    0m1.013s
sys     0m0.003s

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/ir/event-class.c
include/babeltrace/ctf-ir/event-class-internal.h
This page took 0.024595 seconds and 4 git commands to generate.