<br><br><div class="gmail_quote">On Fri, Sep 16, 2011 at 2:19 AM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@apple.com">echristo@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On Sep 15, 2011, at 1:08 PM, Devchandra L Meetei wrote:<br>
<br>
> Eric<br>
> Extract from the clang++ compile without debug info. See the warnings which follows also.<br>
> Is there a better way to improve on this.<br>
><br>
<br>
</div>This is getting a bit more interesting...<br>
<div class="im"><br>
> /home/deleisha/CodeSpace/build/Release/bin/clang++ -c -o /home/deleisha/CodeSpace/pegasus/pkg/obj/Pegasus/DynListener/Service/cimlistener.o -W -Wall -Wno-unused -Wno-unused-parameter -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT -s -O2 -m64 -fvisibility=hidden -fPIE -fno-enforce-eh-specs -DPEGASUS_INTERNALONLY -DPEGASUS_CONSUMER_INTERNAL  -DPEGASUS_PLATFORM_LINUX_GENERIC_GNU -DPEGASUS_PLATFORM_LINUX_X86_64_GNU -DPEGASUS_USE_SYSLOGS -DPEGASUS_ARCH_LIB=\"lib64\" -DPEGASUS_USE_SQLITE_REPOSITORY -DPEGASUS_ENABLE_CQL -DPEGASUS_DEFAULT_ENABLE_OOP -DPEGASUS_DISABLE_PROV_USERCTXT -DPEGASUS_DISABLE_EXECQUERY -DPEGASUS_ENABLE_AUDIT_LOGGER -DPEGASUS_ENABLE_IPV6 -DPEGASUS_ENABLE_INDICATION_COUNT -DPEGASUS_ENABLE_INTEROP_PROVIDER -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES -DPEGASUS_ENABLE_CMPI_PROVIDER_MANAGER -DPEGASUS_DEST_LIB_DIR=\"lib\" -DPEGASUS_ENABLE_PROTOCOL_WSMAN -DPEGASUS_EXTRA_PROVIDER_LIB_DIR=\"\" -DPLATFORM_COMPONENT_NAME=\"cimlistener\"  -I/home/deleisha/CodeSpace/pegasus/src  cimlistener.cpp<br>

> clang: warning: argument unused during compilation: '-s'<br>
> clang: warning: argument unused during compilation: '-fno-enforce-eh-specs'<br>
><br>
> g++ without -g<br>
> -----------------<br>
> real    6m45.524s<br>
> user    5m38.231s<br>
> sys    0m48.052s<br>
><br>
> 8.4M    pkg/bin/<br>
> 12M    pkg/lib/<br>
><br>
><br>
> clang without -g<br>
> real    6m26.595s<br>
> user    5m17.367s<br>
> sys    0m40.888s<br>
><br>
> memory foot print<br>
> 9.5M    ./pkg/bin/<br>
> 13M    ./pkg/lib/<br>
><br>
<br>
</div>How are you grabbing the footprint? Is this just compile time or does it include link time?</blockquote><div>These are both for compile as well as linking<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
  Can you separate out compiling object files from linking? i.e. if most of the work is being done in the linker then there's not much we can do).</blockquote><div>I do hope separation will take more time and investigation<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">   How are you getting the memory footprint? </blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
foot prints are being taken with du -h pkg/bin and pkg/lib,<br></blockquote><div>pkg/bin holds all the binaries and pkg/lib holds all the lib files.<br>Though, These approaches are not good. This will be give enough info whether to invest the time for the support or not?<br>
</div><div>memory foot <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> 
<font color="#888888"><br>
-eric</font></blockquote></div><br>