From: Tom Tromey <tom@tromey.com>
To: <gdb@sourceware.org>
Cc: Hannes Domani <ssbssa@yahoo.de>
Subject: Re: question about expand_symtabs_matching()
Date: Fri, 08 Mar 2019 21:13:00 -0000 [thread overview]
Message-ID: <87mum5f4uj.fsf@tromey.com> (raw)
In-Reply-To: <1682009983.12256919.1551466302655@mail.yahoo.com> (Hannes Domani via gdb's message of "Fri, 1 Mar 2019 18:51:42 +0000 (UTC)")
>>>>> "Hannes" == Hannes Domani via gdb <gdb@sourceware.org> writes:
Hannes> For the case of 'b some_function', with the application I'm testing:
Hannes> - startup time with the call of cp_canonicalize_string_no_typedefs(): 1m 25s
Hannes> - startup time without this call: 27s
Wow.
Hannes> In my personal build I've changed this:
Hannes> - only call cp_canonicalize_string_no_typedefs() if it's not a simple function
Hannes> name (like 'function_name' or 'Class::member_function')
Hannes> - only call expand_symtabs_matching() if the lookup_name doesn't contain a '.'
Hannes> I admit that I don't fully understand what could break with these changes,
Hannes> but the speedup makes it worth for me right now.
Could you send the diff?
thanks,
Tom
next prev parent reply other threads:[~2019-03-08 21:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <183519794.10360727.1551304006549.ref@mail.yahoo.com>
[not found] ` <183519794.10360727.1551304006549@mail.yahoo.com>
2019-02-27 23:55 ` Tom Tromey
2019-02-28 11:32 ` Hannes Domani via gdb
2019-03-01 18:30 ` Tom Tromey
2019-03-01 18:51 ` Hannes Domani via gdb
2019-03-08 21:13 ` Tom Tromey [this message]
[not found] ` <605876742.3053854.1552089304851@mail.yahoo.com>
2019-03-09 0:18 ` Fw: " Hannes Domani via gdb
[not found] <948301287.10289911.1551297622910.ref@mail.yahoo.com>
2019-02-27 20:02 ` Hannes Domani via gdb
2019-02-27 21:26 ` Tom Tromey
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=87mum5f4uj.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb@sourceware.org \
--cc=ssbssa@yahoo.de \
/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