public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: NightStrike <nightstrike@gmail.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Subject: A priori profile optimization
Date: Sun, 6 Dec 2020 18:36:05 -1000	[thread overview]
Message-ID: <CAF1jjLv2JpKvyRxPX_X1++qY2mXxfzyz-Nqmy4-vgnjWBWrUqg@mail.gmail.com> (raw)

Is there a way to get gcc to tell you if it could optimize better with
profiling information? In other words, it'd be nice to know how much,
roughly speaking, profile based optimization would have an effect before
going through the trouble of setting it up. Like, if gcc could say, "just
fyi, i could make this loop potentially twice as fast if you give me a
profile to work with". Or, "yeah, even with a profile, that function won't
get much better."

If it could tell me next week's lottery numbers, too, that'd be great.
Maybe that's easier :)

             reply	other threads:[~2020-12-07  4:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07  4:36 NightStrike [this message]
2021-04-14 17:01 ` NightStrike

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=CAF1jjLv2JpKvyRxPX_X1++qY2mXxfzyz-Nqmy4-vgnjWBWrUqg@mail.gmail.com \
    --to=nightstrike@gmail.com \
    --cc=gcc-help@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).