This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi all, I did some profiling and realised that the probes patch I just mailed had reintroduced calls to update_section_map, a slow function I did some work to avoid calling last year: http://www.cygwin.com/ml/gdb-patches/2011-07/msg00460.html http://www.cygwin.com/ml/gdb-patches/2011-10/msg00361.html Attached is a patch to avoid calling update_section_map from the probes interface. Updated timings are as follows: no of solibs 100 250 500 1000 2000 5000 ------------------------------------------------------------ old interface 1 3 9 35 141 942 new interface 0 0 1 4 14 89 (times in seconds) So, with this patch GDB is not three but ten times faster. Thanks, Gary -- http://gbenson.net/
Attachment:
rtld-stap-7.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |