Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #1657

Re: How do you profile postscript code?

From John Deubert <john@acumentraining.com>
Organization Acumen Training
Newsgroups comp.lang.postscript
Date 2013-09-27 07:36 -0700
Message-ID <201309270736543160-john@acumentrainingcom> (permalink)
References <c0ac5848-bb8f-4364-8283-6a5abc3327a3@googlegroups.com>
Subject Re: How do you profile postscript code?

Show all headers | View raw


On 2013-08-30 06:37:08 +0000, luser- -droog said:

> I posted a sorting function a few days ago. And a few others followed.
> I think it'd be fun to run these against each other. But what little
> profiling I've done has been on C code with the help of gprof, which is
> pretty automatic. I've read about how to do it, of course. You want to
> do lots of reps to "fly over the bumps" of system-load issues.
> 
> PS offers `usertime` and `realtime`. In my experience, the numbers reported
> by ghostscript's usertime weren't what I expected (though I don't remember
> the details).
> 
> So, anybody know how to do it with postscript?

The May 2003 issue of the Acumen Journal (#25) describes the 
implementation of a PostScript profiler; the article's title is "A 
PostScript Profiler (Sort of)."

The Journal is free for the downloading at

	www.http://acumentraining.com/acumenjournal.html

Hope that helps.

- John

-- 
========
John Deubert
Acumen Training
PostScript & PDF Engineering Classes & Consulting
www.acumentraining.com

Learn PostScript programming techniques
Read the free Acumen Journal
acumentraining.com/acumenjournal.html

Back to comp.lang.postscript | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How do you profile postscript code? luser- -droog <mijoryx@yahoo.com> - 2013-08-29 23:37 -0700
  Re: How do you profile postscript code? luser- -droog <mijoryx@yahoo.com> - 2013-08-31 17:55 -0700
  Re: How do you profile postscript code? luser- -droog <mijoryx@yahoo.com> - 2013-09-12 09:40 -0700
  Re: How do you profile postscript code? John Deubert <john@acumentraining.com> - 2013-09-27 07:36 -0700

csiph-web