public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ben Elliston <bje@au.ibm.com>
To: binutils@sources.redhat.com
Subject: Re: Optimization of GAS
Date: Sun, 03 Apr 2005 23:37:00 -0000	[thread overview]
Message-ID: <d2puip$sl0$1@sea.gmane.org> (raw)
In-Reply-To: <E1DHOaZ-000Da8-00.stas_kiselev-bk-ru@f20.mail.ru>

> I want to make GAS faster. I profiled it and found out that lots of the 
> time takes on working with hash. What do you thing about changing hash 
> mechanism into hash_map from stl. Will it work faster ?

GAS really isn't a bottleneck on modern machines that have plenty of buffer cache.

I changed the GCC c-torture/compile.exp tests last year so that they just compiled 
rather than including the assembly step (ie. using -S instead of -c), thinking it 
would speed up those tests.  Over that large testsuite, the saving was less than 0.1%.

If you'd like to make something faster, work on the linker!

Ben

      parent reply	other threads:[~2005-04-03 23:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-01 16:01 Stas Kiselev
2005-04-01 16:35 ` Ian Lance Taylor
2005-04-03 23:37 ` Ben Elliston [this message]

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='d2puip$sl0$1@sea.gmane.org' \
    --to=bje@au.ibm.com \
    --cc=binutils@sources.redhat.com \
    /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).