From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32458 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: [Fwd: [pdftex] pdftex 1.40] Date: Wed, 03 Jan 2007 13:25:58 +0100 Message-ID: <459BA0D6.2010102@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167841927 11838 80.91.229.12 (3 Jan 2007 16:32:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Jan 2007 16:32:07 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 03 17:32:05 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1H291z-0007z6-7G for gctc-ntg-context-518@m.gmane.org; Wed, 03 Jan 2007 17:31:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B40C91FE6F; Wed, 3 Jan 2007 17:29:16 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26567-04-3; Wed, 3 Jan 2007 17:29:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 940ED1FB40; Wed, 3 Jan 2007 17:29:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D09611FA7A for ; Wed, 3 Jan 2007 17:29:08 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26544-09-10 for ; Wed, 3 Jan 2007 17:29:05 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id 011E31FEFC for ; Wed, 3 Jan 2007 13:23:18 +0100 (CET) Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 402 for ; Wed, 03 Jan 2007 13:25:59 +0100 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: mailing list for ConTeXt users In-Reply-To: X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:32458 Archived-At: Sanjoy Mahajan wrote: > >From the texexec man page: > > --fast > Typeset the document(s) as fast as possible without causing > problems. > > --final > Perform a final run without skipping anything. This option is > typically used with --fast. > > So --fast --final could be the pair of switches to add. But I tried > an experiment with mediocre results, using this test file: > > ====================== q.tex ================= > \doifnotmode{*last}{\pdfdraftmode=1} > \starttext > \completecontent > > \chapter{A} > \dorecurse{500}{\input tufte\par} > > \chapter{B} > \dorecurse{400}{\input tufte\par} > > \chapter{C} > \dorecurse{100}{\input tufte\par} > > \stoptext > ============================================ > > I ran it with the attached Makefile, which produced this output: > > ctxtools --purge --all > /dev/null > rm -f q.pdf > texexec --verbose --fast --final q.tex > run.log > Total runs : 4 (counted by grepping run.log for running: pdfetex) > Draftmode runs: 3 (counted by grepping run.log for pdfdraftmode) > TeXExec | runtime: 7.987485 > > Then I commented out the first line and reran it: > > ctxtools --purge --all > /dev/null > rm -f q.pdf > texexec --verbose --fast --final q.tex > run.log > Total runs : 4 > Draftmode runs: 0 (just to check) > TeXExec | runtime: 8.307869 > > So the draftmode saves 4% in the runtime. But the fastest is to not > use the draftmode and not use --final (which causes an extra run). > Maybe I missing a trick, but the draftmode didn't save much time. I > guess I should make the test file read in a few huge images? > try bigger stuff, say a file with some 100 meg pictures and 25 fonts ; that's what draftmode is for (one of those ideas that popped up during eurotex 2006 at our usual pdftex dev chat). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------