Here are the results. With patch1: ~155s With patch2: ~112s On the other hand, I have patched gdb, seehttp:// sourceware.org/bugzilla/show_bug.cgi?id=14081, to do uniq internally in gdb, and then it takes only about 10s. On Fri, May 11, 2012 at 9:33 AM, Chong Yidong wrote: > Dov Grobgeld writes: > > > Here are the tests when using the the latest cvs gdb that yields a gdb > > output file of about 800k. > > > > Without gdb-get-source-file-list override: ~139s > > With gdb-get-source-file-list override: ~125s > > > > Thus it is clear that most of the time is taken just reading the > > string into emacs. But doing find-file on the same file is almost > > instantaneous. > > Here's another little experiment. Could you apply the two attached > patches, individually, and see what difference each patch makes? > (Again, with gdb-create-source-file-list at its default of t, and > without any other patches to gdb-mi.el.) > >