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


Groups > comp.lang.postscript > #1657

Re: How do you profile postscript code?

X-Received by 10.66.220.163 with SMTP id px3mr10652092pac.38.1380292614975; Fri, 27 Sep 2013 07:36:54 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!y3no50194196pbx.0!news-out.google.com!z6ni74631pbu.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date Fri, 27 Sep 2013 09:36:54 -0500
From John Deubert <john@acumentraining.com>
Organization Acumen Training
Newsgroups comp.lang.postscript
Date Fri, 27 Sep 2013 07:36:54 -0700
Message-ID <201309270736543160-john@acumentrainingcom> (permalink)
References <c0ac5848-bb8f-4364-8283-6a5abc3327a3@googlegroups.com>
MIME-Version 1.0
Subject Re: How do you profile postscript code?
User-Agent Unison/2.1.10
Lines 37
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-s7t8tRzPBTtL/0ZKJqJ7BhfQR1tea6RUFkcROFiFjlBbdB2+vUgEDlZH2r0rwE0G5nZC6T5mKxLVJOM!WO04ggBh9nvCvafp+I1J3OQ/AOQHh+dBPVXTa6fCzUM1hNW4j5Ho7U7NwQ7t0jbpnA==
X-Complaints-To abuse@giganews.com
X-DMCA-Notifications http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2269
Content-Type text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding 8bit
Xref csiph.com comp.lang.postscript:1657

Show key headers only | 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