Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Code size "profiling"

5 views
Skip to first unread message

Igor R.

unread,
Nov 17, 2009, 1:17:29 PM11/17/09
to
Hello,

I've got a "code bloat" problem (probably due to multiple templates
instantiations) that I try to handle.
However, trying to determine suspect code at a glance is like trying
to optimize performance without a profiler. So my question is whether
there's any "profiling-like" technique that allows to put the finger
on specific places in the code that produce the bloat?

Thanks!

Igor R.

unread,
Nov 18, 2009, 5:20:20 AM11/18/09
to
After investingating this topic a bit more, I found the following
opensource tool:
http://aras-p.info/projSizer.html
which uses Microsoft msdia*.dll to extract the information from *.pdb
file.

Analyzing its logs raised another question. Among various code and
data listed in the logs, there's the following line:

Data by size (kilobytes):
1854.51: __NULL_IMPORT_DESCRIPTOR
KERNEL32.dll
........


Does anyone know, what __NULL_IMPORT_DESCRIPTOR is and what might
cause it to take ~2Mb of the executable?

Thanks.

0 new messages