[Bug 1202431] windows:mingw:win{32|64}/mingw{32|64}-filesystem: Enormous amount of time needed to scan binaries for debug source files
https://bugzilla.suse.com/show_bug.cgi?id=1202431 https://bugzilla.suse.com/show_bug.cgi?id=1202431#c14 --- Comment #14 from Ralf Habacker <ralf.habacker@freenet.de> --- I just saw at https://www.prevanders.net/dwarf.html#introduction, that there is a dwarfdump tool available, which can read PE files https://www.prevanders.net/dwarf.html#libdwarf-20190104 I did a quick test to see what the differences are compared to the current solution: osc co windows:mingw:win32/mingw32-libvsg && cd $_ osc build openSUSE_Leap_15.5 time find /home/osc/build-root/openSUSE_Leap_15.5-x86_64/home/abuild/rpmbuild/BUILD/VulkanSceneGraph-1.0.9/ -name '*.dll' | xargs objdump -Wi | /usr/bin/i686-w64-mingw32-objdump-srcfiles
/dev/null
real 0m15,122s user 0m23,000s sys 0m0,723s Most of the time is spent analyzing the binary file with objdump: time find /home/osc/build-root/openSUSE_Leap_15.5-x86_64/home/abuild/rpmbuild/BUILD/VulkanSceneGraph-1.0.9/ -name '*.dll' | xargs objdump -Wi > /dev/null real 0m14,426s user 0m14,234s sys 0m0,187s And now the same with dwarfdump, which was built in release mode: time find /home/osc/build-root/openSUSE_Leap_15.5-x86_64/home/abuild/rpmbuild/BUILD/VulkanSceneGraph-1.0.9/ -name '*.dll' | xargs ../libdwarf-code-build/src/bin/dwarfdump/dwarfdump -i > /dev/null real 0m26,076s user 0m25,212s sys 0m0,490s It takes about 1.85 times more time than the current solution. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com