* Something about elp I need help with.
@ 2012-01-13 16:03 Alan Mackenzie
2012-01-14 15:46 ` Alan Mackenzie
0 siblings, 1 reply; 3+ messages in thread
From: Alan Mackenzie @ 2012-01-13 16:03 UTC (permalink / raw)
To: emacs-devel
Hi, Emacs.
Whilst trying to track down what is dragging in a fontification event, I
get the following output from elp-results (blank lines added for
clarity):
Function Name Call Count Elapsed Time Average Time
c-beginning-of-decl-1 90 8.767888 0.0974209777
c-beginning-of-statement-1 103 8.7664949999 0.0851116019
c-crosses-statement-barrier-p 14519 7.6718619999 0.0005284015
c-at-macro-vsemi-p 20230 4.3577799999 0.0002154117
c-in-literal 20230 3.8880240000 0.0001921910
c-literal-limits 22322 2.2931949999 0.0001027325
c-backward-sws 72797 0.9805889999 1.347...e-05
c-state-safe-place 31416 0.3780669999 1.203...e-05
c-beginning-of-macro 44678 0.3394430000 7.597...e-06
c-font-lock-declarations 8 0.2129779999 0.0266222499 <========
c-find-decl-spots 8 0.2129130000 0.0266141250
c-parse-state 177 0.1174700000 0.0006636723
All these functions down to c-font-lock-declarations are low level
functions, called only from other CC Mode ones. Yet there don't seem to
be any HL functions calling the LL ones at the top, such as
c-beginning-of-decl-1.
How can this be? What have I misunderstood about elp?
Thanks for the help!
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Something about elp I need help with.
2012-01-13 16:03 Something about elp I need help with Alan Mackenzie
@ 2012-01-14 15:46 ` Alan Mackenzie
2012-01-15 16:38 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: Alan Mackenzie @ 2012-01-14 15:46 UTC (permalink / raw)
To: emacs-devel
On Fri, Jan 13, 2012 at 04:03:09PM +0000, Alan Mackenzie wrote:
> Hi, Emacs.
> Whilst trying to track down what is dragging in a fontification event, I
> get the following output from elp-results (blank lines added for
> clarity):
> Function Name Call Count Elapsed Time Average Time
> c-beginning-of-decl-1 90 8.767888 0.0974209777
> c-beginning-of-statement-1 103 8.7664949999 0.0851116019
> c-crosses-statement-barrier-p 14519 7.6718619999 0.0005284015
> c-at-macro-vsemi-p 20230 4.3577799999 0.0002154117
> c-in-literal 20230 3.8880240000 0.0001921910
> c-literal-limits 22322 2.2931949999 0.0001027325
> c-backward-sws 72797 0.9805889999 1.347...e-05
> c-state-safe-place 31416 0.3780669999 1.203...e-05
> c-beginning-of-macro 44678 0.3394430000 7.597...e-06
> c-font-lock-declarations 8 0.2129779999 0.0266222499 <========
> c-find-decl-spots 8 0.2129130000 0.0266141250
> c-parse-state 177 0.1174700000 0.0006636723
> All these functions down to c-font-lock-declarations are low level
> functions, called only from other CC Mode ones. Yet there don't seem to
> be any HL functions calling the LL ones at the top, such as
> c-beginning-of-decl-1.
> How can this be? What have I misunderstood about elp?
I've worked it out, now. There was a macro generated function called
directly from font-lock. It was the "missing" high level function.
> Thanks for the help!
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-15 16:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-13 16:03 Something about elp I need help with Alan Mackenzie
2012-01-14 15:46 ` Alan Mackenzie
2012-01-15 16:38 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).