Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: "Rod Pemberton" Newsgroups: comp.lang.forth Subject: Re: Measuring execution speed -- profiling in Forth? Date: Sun, 16 Mar 2014 20:24:33 -0400 Organization: Aioe.org NNTP Server Lines: 30 Message-ID: References: <21472b76-85c6-45ac-99b9-28eaf4004483@googlegroups.com> NNTP-Posting-Host: CNsg4fVcCsvs3UaOgZtQCw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.forth:29050 On Sun, 16 Mar 2014 18:50:13 -0400, wrote: > On Saturday, March 15, 2014 9:48:00 AM UTC-4, Assad Ebrahim wrote: >> [...] >> Although I believe someone mentioned that GForth has a profiler...? > > This goes way back and I can't put my fingers on the code right now, but > I recall an article in Forth Dimensions (maybe?) where ':' was > re-defined to add profiling to every word after the re-defined version > was in the system. > > Does anyone else remember that or am I delusional? > There couple articles in FD and it was discussed on c.l.f. in the past too. So, you're not delusional ... ;-) These two are likely the articles you remember: V05N2 "Tracer for Colon Definitions" by Rieks Joosten V06N5 "An Augmented TRACE" by Andreas Goppold This article has a tracer too: V11N5 "Developing a Step Trace" by Chester H. Page Forth Dimensions http://www.forth.org/fd/contents.html Rod Pemberton