This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Speed up find_pc_section
- From: Paul Pluzhnikov <ppluzhnikov at google dot com>
- To: gdb-patches ml <gdb-patches at sourceware dot org>
- Cc: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Date: Fri, 17 Jul 2009 10:19:13 -0700
- Subject: Re: [patch] Speed up find_pc_section
- References: <8ac60eac0907161724v40e5bd8bg7877d8901b8d7b6e@mail.gmail.com>
On Thu, Jul 16, 2009 at 5:24 PM, Paul Pluzhnikov<ppluzhnikov@google.com> wrote:
> Here are user-time results before the patch (clearly showing non-linear
> slowdown):
It turned out that I had another local patch which was unexpectedly slowing
this down.
Here is what the unpatched/patched timing looks like without it:
NNN before after
256 0m1.042s 0m0.337s
512 0m6.837s 0m0.887s
1024 0m31.406s 0m4.594s
Sorry about the confusion ...
[There is still another quadratic factor hiding in dwarf2_frame_find_fde,
and it's next on my list.]
--
Paul Pluzhnikov