]> git.ipfire.org Git - thirdparty/valgrind.git/commit
This optimisation divides by 2.5 the time (user+sys) needed to read
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 21 Jun 2014 10:57:33 +0000 (10:57 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 21 Jun 2014 10:57:33 +0000 (10:57 +0000)
commitcdfd3be6b7cd27cdb27ab17faa61350680ecacaf
tree4e010e9f4620cfd49d514a64bd2aaf310c376f93
parent083986d244a1cc66ccff6c97035519a8c092da95
This optimisation divides by 2.5 the time (user+sys) needed to read
the inlined info of a big executable.
On a slow pentium, reading the inline info now takes 5.5 seconds.

The optimisation consists in having per dw3 abbreviation a structure
allowing to skip efficiently the non interesting DIEs (i.e. the DIEs
the parse_inl_DIE is not interested in).
Mostly, the idea is to avoid calling the image abstraction, and replace
this by just advancing the cursor (i.e. addition rather than a bunch
of function calls to read the data).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14075
coregrind/m_debuginfo/readdwarf3.c