[Bug default/25291] create_import_tree phase 2 slowness
vries at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Wed Mar 3 09:12:28 GMT 2021
https://sourceware.org/bugzilla/show_bug.cgi?id=25291
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
The most pragmatic way to handle this is --devel-gen-cu --devel-uni-lang. Less
imports generated, less scope for create_import_tree.
Consider f.i. this log file for file debug/Checker.so.debug:
...
+ ../measure/time.sh ./dwz debug/Checker.so.debug -o debug/Checker.so.debug.0.z
-lnone -Lnone --no-odr
maxmem: 5913264
real: 70.78
user: 65.74
system: 5.01
+ ../measure/time.sh ./dwz debug/Checker.so.debug -o debug/Checker.so.debug.1.z
-lnone -Lnone --odr --odr-mode=link
maxmem: 6091880
real: 104.91
user: 100.47
system: 4.39
+ ../measure/time.sh ./dwz debug/Checker.so.debug -o debug/Checker.so.debug.2.z
-lnone -Lnone --odr --odr-mode=link --devel-uni-lang --devel-gen-cu
maxmem: 6069780
real: 83.50
user: 79.32
system: 4.17
+ ../measure/diff.sh debug/Checker.so.debug debug/Checker.so.debug.0.z
.debug_info red: .01% 542547271 542518778
.debug_abbrev red: .11% 5277543 5271927
.debug_str red: 0% 63361040 63361040
total red: .01% 611185854 611151745
+ ../measure/diff.sh debug/Checker.so.debug debug/Checker.so.debug.1.z
.debug_info red: 32.82% 542547271 364493736
.debug_abbrev red: -9.44% 5277543 5775931
.debug_str red: 0% 63361040 63361040
total red: 29.06% 611185854 433630707
+ ../measure/diff.sh debug/Checker.so.debug debug/Checker.so.debug.2.z
.debug_info red: 33.00% 542547271 363553611
.debug_abbrev red: -9.12% 5277543 5759093
.debug_str red: 0% 63361040 63361040
total red: 29.21% 611185854 432673744
...
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Dwz
mailing list