public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ppluzhnikov at google dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/67396] [4.9/5.0 regression] Performance regression compiling variadic function with many arguments
Date: Sun, 30 Aug 2015 18:03:00 -0000 [thread overview]
Message-ID: <bug-67396-4-Ja3hSGPnBx@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-67396-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67396
--- Comment #5 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
> please do before you report compile time regressions.
Ok. Here are the new numbers from current trunk built with
--enable-checking=release
(nothing's changed that I can see; still very slow):
for j in 500 1000 2000 3000; do perl ./gen_bz18872.pl $j > t.c ; (time
gcc-svn-r227326-rel/bin/gcc -c -O2 t.c) |& grep user; done
user 0m1.488s
user 0m12.010s
user 1m40.353s
user 5m47.668s
Here is the -ftime-report:
perl ./gen_bz18872.pl 2000 > t.c && gcc-svn-r227326-rel/bin/gcc -c -O2 t.c
-ftime-report
Execution times (seconds)
phase setup : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall
1066 kB (19%) ggc
phase parsing : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall
1486 kB (27%) ggc
phase opt and generate : 100.30 (100%) usr 0.00 ( 0%) sys 100.43 (100%)
wall 2997 kB (54%) ggc
trivially dead code : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall
0 kB ( 0%) ggc
df scan insns : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall
0 kB ( 0%) ggc
preprocessing : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall
948 kB (17%) ggc
lexical analysis : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall
0 kB ( 0%) ggc
dead store elim1 : 100.17 (100%) usr 0.00 ( 0%) sys 100.29 (100%)
wall 171 kB ( 3%) ggc
dead store elim2 : 0.10 ( 0%) usr 0.00 ( 0%) sys 0.10 ( 0%) wall
171 kB ( 3%) ggc
scheduling 2 : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.03 ( 0%) wall
1558 kB (28%) ggc
TOTAL : 100.32 0.00 100.45
5558 kB
perf report:
Samples: 406K of event 'cycles', Event count (approx.): 372444339282
32.97% cc1 cc1 [.] find_base_term(rtx_def*)
25.58% cc1 cc1 [.] get_addr(rtx_def*) [clone .part.33]
17.70% cc1 cc1 [.] rtx_equal_for_memref_p(rtx_def const*,
rtx_def const*)
11.33% cc1 cc1 [.] memrefs_conflict_p(int, rtx_def*, int,
rtx_def*, long) [clone .constprop.107]
5.79% cc1 cc1 [.] addr_side_effect_eval(rtx_def*, int, int)
[clone .constprop.108]
2.43% cc1 cc1 [.] cselib_sp_based_value_p(cselib_val*)
2.34% cc1 cc1 [.] ix86_find_base_term(rtx_def*)
1.41% cc1 cc1 [.] cselib_have_permanent_equivalences()
0.14% cc1 cc1 [.] record_store(rtx_def*, dse_bb_info_type*)
next prev parent reply other threads:[~2015-08-30 18:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-29 22:09 [Bug c/67396] New: " ppluzhnikov at google dot com
2015-08-30 16:36 ` [Bug c/67396] " ppluzhnikov at google dot com
2015-08-30 16:53 ` [Bug target/67396] " pinskia at gcc dot gnu.org
2015-08-30 17:14 ` ppluzhnikov at google dot com
2015-08-30 17:23 ` pinskia at gcc dot gnu.org
2015-08-30 18:03 ` ppluzhnikov at google dot com [this message]
2015-08-31 8:10 ` [Bug rtl-optimization/67396] [4.9/5/6 regression] Performance regression compiling variadic function with many arguments in RTL DSE rguenth at gcc dot gnu.org
2015-08-31 9:20 ` [Bug rtl-optimization/67396] [4.9/5.0 regression] Performance regression compiling variadic function with many arguments miyuki at gcc dot gnu.org
2015-08-31 9:26 ` [Bug rtl-optimization/67396] [4.9/5/6 regression] Performance regression compiling variadic function with many arguments in RTL DSE miyuki at gcc dot gnu.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-67396-4-Ja3hSGPnBx@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).