MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathematica profiler?

  • To: mathgroup at
  • Subject: [mg19285] Re: Mathematica profiler?
  • From: tgayley at (Todd Gayley)
  • Date: Thu, 12 Aug 1999 22:34:43 -0400
  • Organization: LinkObjects
  • References: <7o5gob$>
  • Sender: owner-wri-mathgroup at

On 2 Aug 1999 21:30:51 -0400, "Roberto Abraham"
<abraham at> wrote:

>Hi ---
>I'd like to analyze some functions to try to isolate performance
>bottlenecks, and I'm looking for a Mathematica profiler.  I understand from
>reading various books and by trolling through old posts that at some stage
>the legendary Todd Gayley wrote a profiler (which was described in an old
>version of The Mathematica Journal).  Is this code available, and does it
>work with version 4?
>I've located an old post where the code is described as being available on
>an anonymous FTP directory at the MathSource site, but the directory is no
>longer there and the code doesn't seem to be part of MathSource proper.
>Anyway, I can't seem to locate it anywhere.... could somebody point me to
>Profiler.m and the associated notebook?
>Many thanks ---
>Bob Abraham


Some aspects of the profiler broke in version 3 of Mathematica, and I
am a bit embarrassed to admit that I have not yet cataloged, let aone
fixed, the problems. I did a very quick check of the profiler at the
time 3.0 came out, and I thought I convinced myself that it worked OK.
Since then, I have learned that at least the compound expression
profiler (ProfileCE) broke.

I never got a lot of user feedback on the profiler, so I haven't been
very motivated to test and update it for new releases of Mathematica.
I am currently working on a suite of debugging tools that are based on
some of the same general ideas and code, so I have my head back in
that area again. I'll take a look at the profiler, and try to fix it,
within the next month or so.

I, too, thought that the profiler was available on MathSource, at
least as part of the electronic supplement to The Mathematica Journal
(volume 5, issue 3). But I see that the last supplement available is
volume 5, issue 1. I have emailed the Profiler.m package file and its
associated documentation notebook directly to you.

I'll see to it that it makes it onto MathSource when I fix it for 3.0
and beyond.

Todd Gayley

  • Prev by Date: What I try to ask is ...
  • Next by Date: Re: Re: Automatic Display in MatrixForm
  • Previous by thread: Mathematica profiler?
  • Next by thread: Re: plotting time data