I've been using it for years, mostly just using start, showdetail and stop!

NB.  It seems to be necessary to use a high right argument in start,  ie
   start_jpm_ 100000000
NB. otherwise showdetail_jpm_ 'xxxx' fails (for me, at least, with cpu-bound verbs) with error message
|length error: usage

| msk=.0<mbgn usage mend


NB. I try to avoid more than 10 or so seconds - otherwise showdetail tends to fail, with the same error.

NB. showdetail displays a memoised verb or a verb with explicit rank displays in a single line, which isn't much use.

But it's very useful, all the same.

Now to get debug going in j802!

Mike

On 21/06/2014 04:31, Raul Miller wrote:
Why am I only today noticing http://www.jsoftware.com/help/release/pm.htm?

This kind of thing is an essential tool for monitoring code coverage, and
for focusing attention on the important bottlenecks, in a large body of
code.

Assuming it works (and I have not had time to try it yet):

(*) Code that never gets executed should be treated as dubious. Either it
needs documentation and test cases or it's garbage (or sometimes both).

(*) Code that eats most of the time should sometimes get attention. It's
probably working fine but sometimes there might be a more efficient
approach.

Thanks,




-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4592 / Virus Database: 3972/7717 - Release Date: 06/21/14

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to