GNU bug report logs -
#4222
calls to char_table_ref slow down 23.1 (vs 22.3)
Previous Next
Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>
Date: Fri, 21 Aug 2009 05:30:04 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Chong Yidong <cyd <at> stupidchicken.com> writes:
> > Take src/config.h run C-x r t on it to insert a space in front of each
> > line.
> >
> > Then build both emacs-23.1 and 22.3 with profiling enabled (-O2 -g -pg).
> > Then run:
> >
> > emacs -Q -nw config.h
> > M-: (indent-region (point-min)(point-max)) RET
> > C-x C-c
> >
> > The 23.1 gprof results:
> >
> > Each sample counts as 0.01 seconds.
> > % cumulative self self total
> > time seconds seconds calls s/call s/call name
> > 29.60 7.03 7.03 406111658 0.00 0.00 char_table_ref
> > 26.72 13.37 6.34 4653244 0.00 0.00 forw_comment
>
> I can't reproduce this problem now. Following your recipe, I do observe
> the indentation taking a looong time, but char_table_ref is not called.
> Presumably, Handa-san's 2009-08-25 and 2009-08-27 changes fixed this.
> Should I close the bug, or is there still a problem?
There still is a problem, but it is not caused by char_table_ref, that
part was fixed by Handa-san.
It's up to you if you want to keep this bug, just retitle it, or close it.
This bug report was last modified 15 years and 336 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.